6 std::cerr <<
"# [MARK] operator*(const dssmatrix&, const dcovector&)"
12 std::cerr <<
"[ERROR] operator*(const dssmatrix&, const dcovector&)"
14 <<
"These matrix and vector can not make a product." << std::endl
15 <<
"Your input was (" << mat.M <<
"x" << mat.N <<
") * ("
16 << vec.L <<
")." << std::endl;
24 for(
int c=0; c<mat.VOL; c++){
25 newvec(mat.Indx[c]) +=mat.Array[c]*vec(mat.Jndx[c]);
friend _drovector operator*(const drovector &, const dgematrix &)
Definition: drovector-dgematrix.hpp:3
Real Double-precision Column Vector Class.
Definition: dcovector.hpp:3
Real Double-precision Sparse Matrix Class.
Definition: dssmatrix.hpp:3
void zero()
Definition: dcovector-misc.hpp:23
(DO NOT USE) Smart-temporary Real Double-precision Column Vector Class
Definition: _dcovector.hpp:3