Go to the source code of this file.
drovector*_dgsmatrix operator
Definition at line 3 of file drovector-_dgsmatrix.hpp.
References _(), _dgsmatrix::data, _dgsmatrix::destroy(), drovector::l, _dgsmatrix::m, _dgsmatrix::n, and drovector::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<dcomponent>::const_iterator mat_data_end =mat.
data.end();
18 for(std::vector<dcomponent>::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
Real Double-precision Row Vector Class.
CPPL_INT m
matrix row size
std::vector< dcomponent > data
matrix data
_dcovector _(dcovector &vec)