8 std::cerr <<
"These matrix and vector can not make a product." << std::endl
9 <<
"Your input was (" << mat.
m <<
"x" << mat.
n <<
") * (" << vec.
l <<
")." << std::endl;
17 const std::vector<zcomponent>::const_iterator mat_data_end =mat.
data.end();
18 for(std::vector<zcomponent>::const_iterator it=mat.
data.begin(); it!=mat_data_end; it++){
19 newvec(it->i) += it->v*vec(it->j);
CPPL_INT n
matrix column size
(DO NOT USE) Smart-temporary Real Double-precision General Sparse Matrix Class
CPPL_INT m
matrix row size
Complex Double-precision Column Vector Class.
(DO NOT USE) Smart-temporary Complex Double-precision Column Vector Class
_zcovector operator*(const _zgsmatrix &mat, const _zcovector &vec)
_dcovector _(dcovector &vec)
std::vector< zcomponent > data
matrix data