Go to the source code of this file.
zrovector*_zgsmatrix operator
Definition at line 3 of file zrovector-_zgsmatrix.hpp.
References _(), _zgsmatrix::data, _zgsmatrix::destroy(), zrovector::l, _zgsmatrix::m, _zgsmatrix::n, and zrovector::zero().
8 std::cerr <<
"These vector and matrix can not make a product." << std::endl
9 <<
"Your input was (" << vec.
l <<
") * (" << mat.
m <<
"x" << mat.
n <<
")." << 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->j) += vec(it->i)*it->v;
CPPL_INT n
matrix column size
Complex Double-precision Row Vector Class.
CPPL_INT m
matrix row size
_dcovector _(dcovector &vec)
std::vector< zcomponent > data
matrix data