svec.cpp
Go to the documentation of this file.
#include <itpp/base/svec.h>
namespace itpp
{
// ---------------------------------------------------------------------
// Instantiations
// ---------------------------------------------------------------------
template class ITPP_EXPORT Sparse_Vec<int>;
template class ITPP_EXPORT Sparse_Vec<double>;
template class ITPP_EXPORT Sparse_Vec<std::complex<double> >;
template ITPP_EXPORT sparse_ivec operator+(const sparse_ivec &, const sparse_ivec &);
template ITPP_EXPORT sparse_vec operator+(const sparse_vec &, const sparse_vec &);
template ITPP_EXPORT sparse_cvec operator+(const sparse_cvec &, const sparse_cvec &);
template ITPP_EXPORT int operator*(const sparse_ivec &, const sparse_ivec &);
template ITPP_EXPORT double operator*(const sparse_vec &, const sparse_vec &);
template ITPP_EXPORT std::complex<double> operator*(const sparse_cvec &, const sparse_cvec &);
template ITPP_EXPORT int operator*(const sparse_ivec &, const ivec &);
template ITPP_EXPORT double operator*(const sparse_vec &, const vec &);
template ITPP_EXPORT std::complex<double> operator*(const sparse_cvec &, const cvec &);
template ITPP_EXPORT int operator*(const ivec &, const sparse_ivec &);
template ITPP_EXPORT double operator*(const vec &, const sparse_vec &);
template ITPP_EXPORT std::complex<double> operator*(const cvec &, const sparse_cvec &);
template ITPP_EXPORT sparse_ivec elem_mult(const sparse_ivec &, const sparse_ivec &);
template ITPP_EXPORT sparse_vec elem_mult(const sparse_vec &, const sparse_vec &);
template ITPP_EXPORT sparse_cvec elem_mult(const sparse_cvec &, const sparse_cvec &);
template ITPP_EXPORT ivec elem_mult(const sparse_ivec &, const ivec &);
template ITPP_EXPORT vec elem_mult(const sparse_vec &, const vec &);
template ITPP_EXPORT cvec elem_mult(const sparse_cvec &, const cvec &);
template ITPP_EXPORT sparse_ivec elem_mult_s(const sparse_ivec &, const ivec &);
template ITPP_EXPORT sparse_vec elem_mult_s(const sparse_vec &, const vec &);
template ITPP_EXPORT sparse_cvec elem_mult_s(const sparse_cvec &, const cvec &);
template ITPP_EXPORT ivec elem_mult(const ivec &, const sparse_ivec &);
template ITPP_EXPORT vec elem_mult(const vec &, const sparse_vec &);
template ITPP_EXPORT cvec elem_mult(const cvec &, const sparse_cvec &);
template ITPP_EXPORT sparse_ivec elem_mult_s(const ivec &, const sparse_ivec &);
template ITPP_EXPORT sparse_vec elem_mult_s(const vec &, const sparse_vec &);
template ITPP_EXPORT sparse_cvec elem_mult_s(const cvec &, const sparse_cvec &);
} // namespace itpp
itpp
itpp namespace
Definition itmex.h:37
itpp::operator*
GF2mat operator*(const GF2mat &X, const GF2mat &Y)
GF(2) matrix multiplication.
Definition gf2mat.cpp:847
itpp::elem_mult_s
Sparse_Vec< T > elem_mult_s(const Sparse_Vec< T > &v1, const Vec< T > &v2)
Elementwise multiplication of a sparse vector and a dense vector returning a sparse vector.
Definition svec.h:1118
itpp::operator+
GF2mat operator+(const GF2mat &X, const GF2mat &Y)
GF(2) matrix addition.
Definition gf2mat.cpp:948
itpp::elem_mult
Mat< Num_T > elem_mult(const Mat< Num_T > &m1, const Mat< Num_T > &m2)
Element wise multiplication of two matrices.
Definition mat.h:1582
svec.h
Sparse Vector Class definitions.

Generated on Mon Jun 10 2024 11:49:19 for IT++ by Doxygen 1.9.8