44template ITPP_EXPORT sparse_ivec
operator+(
const sparse_ivec &,
const sparse_ivec &);
45template ITPP_EXPORT sparse_vec
operator+(
const sparse_vec &,
const sparse_vec &);
46template ITPP_EXPORT sparse_cvec
operator+(
const sparse_cvec &,
const sparse_cvec &);
48template ITPP_EXPORT
int operator*(
const sparse_ivec &,
const sparse_ivec &);
49template ITPP_EXPORT
double operator*(
const sparse_vec &,
const sparse_vec &);
50template ITPP_EXPORT std::complex<double>
operator*(
const sparse_cvec &,
const sparse_cvec &);
52template ITPP_EXPORT
int operator*(
const sparse_ivec &,
const ivec &);
53template ITPP_EXPORT
double operator*(
const sparse_vec &,
const vec &);
54template ITPP_EXPORT std::complex<double>
operator*(
const sparse_cvec &,
const cvec &);
56template ITPP_EXPORT
int operator*(
const ivec &,
const sparse_ivec &);
57template ITPP_EXPORT
double operator*(
const vec &,
const sparse_vec &);
58template ITPP_EXPORT std::complex<double>
operator*(
const cvec &,
const sparse_cvec &);
60template ITPP_EXPORT sparse_ivec
elem_mult(
const sparse_ivec &,
const sparse_ivec &);
61template ITPP_EXPORT sparse_vec
elem_mult(
const sparse_vec &,
const sparse_vec &);
62template ITPP_EXPORT sparse_cvec
elem_mult(
const sparse_cvec &,
const sparse_cvec &);
64template ITPP_EXPORT ivec
elem_mult(
const sparse_ivec &,
const ivec &);
65template ITPP_EXPORT vec
elem_mult(
const sparse_vec &,
const vec &);
66template ITPP_EXPORT cvec
elem_mult(
const sparse_cvec &,
const cvec &);
68template ITPP_EXPORT sparse_ivec
elem_mult_s(
const sparse_ivec &,
const ivec &);
69template ITPP_EXPORT sparse_vec
elem_mult_s(
const sparse_vec &,
const vec &);
70template ITPP_EXPORT sparse_cvec
elem_mult_s(
const sparse_cvec &,
const cvec &);
72template ITPP_EXPORT ivec
elem_mult(
const ivec &,
const sparse_ivec &);
73template ITPP_EXPORT vec
elem_mult(
const vec &,
const sparse_vec &);
74template ITPP_EXPORT cvec
elem_mult(
const cvec &,
const sparse_cvec &);
76template ITPP_EXPORT sparse_ivec
elem_mult_s(
const ivec &,
const sparse_ivec &);
77template ITPP_EXPORT sparse_vec
elem_mult_s(
const vec &,
const sparse_vec &);
78template ITPP_EXPORT sparse_cvec
elem_mult_s(
const cvec &,
const sparse_cvec &);
Templated sparse vector class.
GF2mat operator*(const GF2mat &X, const GF2mat &Y)
GF(2) matrix multiplication.
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.
GF2mat operator+(const GF2mat &X, const GF2mat &Y)
GF(2) matrix addition.
Mat< Num_T > elem_mult(const Mat< Num_T > &m1, const Mat< Num_T > &m2)
Element wise multiplication of two matrices.
Sparse Vector Class definitions.