7 const std::vector<dcomponent>::const_iterator data_end =
data.end();
8 for(std::vector<dcomponent>::const_iterator it=
data.begin(); it!=data_end; it++){
9 newmat.
put(it->i, it->j, comple(it->v,0.));
27 const std::vector<dcomponent>::const_iterator data_end =
data.end();
28 for(std::vector<dcomponent>::const_iterator it=
data.begin(); it!=data_end; it++){
29 newmat(it->i,it->j) = it->v;
Complex Double-precision General Sparse Matrix Class.
_zgsmatrix to_zgsmatrix() const
CPPL_INT n
matrix column size
_dgematrix to_dgematrix() const
(DO NOT USE) Smart-temporary Real Double-precision General Sparse Matrix Class
zgsmatrix & put(const CPPL_INT &, const CPPL_INT &, const comple &)
Real Double-precision General Dence Matrix Class.
CPPL_INT m
matrix row size
(DO NOT USE) Smart-temporary Real Double-precision General Dence Matrix Class
std::vector< dcomponent > data
matrix data
_dcovector _(dcovector &vec)