Go to the source code of this file.
_dgematrix*dssmatrix operator
Definition at line 3 of file _dgematrix-dssmatrix.hpp.
References _(), dssmatrix::data, _dgematrix::destroy(), i(), _dgematrix::i, dssmatrix::m, _dgematrix::m, _dgematrix::n, dssmatrix::n, and dgematrix::zero().
8 std::cerr <<
"These two matrises can not make a product." << std::endl
9 <<
"Your input was (" << matA.
m <<
"x" << matA.
n <<
") * (" << matB.
m <<
"x" << matB.
n <<
")." << std::endl;
17 const std::vector<dcomponent>::const_iterator matB_data_end =matB.
data.end();
18 for(std::vector<dcomponent>::const_iterator it=matB.
data.begin(); it!=matB_data_end; it++){
19 for(CPPL_INT
i=0;
i<matA.
m;
i++){
20 newmat(
i,it->j) +=matA(
i,it->
i)*it->v;
23 for(CPPL_INT
i=0;
i<matA.
m;
i++){
24 newmat(
i,it->
i) +=matA(
i,it->j)*it->v;
std::vector< dcomponent > data
matrix data
_dgematrix i(const _dgbmatrix &mat)
Real Double-precision General Dence Matrix Class.
friend _dgematrix i(const _dgematrix &)
CPPL_INT m
matrix row size
CPPL_INT n
matrix column size
CPPL_INT n
matrix column size
CPPL_INT const & m
matrix row size
_dcovector _(dcovector &vec)