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.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;
30 newmat(it->j, it->i) =it->v;
44 const std::vector<dcomponent>::const_iterator data_end =
data.end();
45 for(std::vector<dcomponent>::const_iterator it=
data.begin(); it!=data_end; it++){
46 newmat(it->i, it->j) =it->v;
60 const std::vector<dcomponent>::const_iterator data_end =
data.end();
61 for(std::vector<dcomponent>::const_iterator it=
data.begin(); it!=data_end; it++){
62 newmat.
put(it->i, it->j, it->v);
64 newmat.
put(it->j, it->i, it->v);
Real Double-precision General Sparse Matrix Class.
std::vector< dcomponent > data
matrix data
CPPL_INT const & m
matrix row size
zhsmatrix & put(const CPPL_INT &, const CPPL_INT &, const comple &)
_dgsmatrix to_dgsmatrix() const
_dgematrix to_dgematrix() const
Real Double-precision General Dence Matrix Class.
Real Double-precision Symmetric Matrix Class [l-type (UPLO=l) Strage].
(DO NOT USE) Smart-temporary Real Double-precision General Sparse Matrix Class
_dsymatrix to_dsymatrix() const
(DO NOT USE) Smart-temporary Real Double-precision General Dence Matrix Class
CPPL_INT n
matrix column size
Complex Double-precision Hermitian Sparse Matrix Class.
(DO NOT USE) Smart-temporary Real Double-precision Symmetric Matrix Class
_zhsmatrix to_zhsmatrix() const
dgsmatrix & put(const CPPL_INT &, const CPPL_INT &, const double &)
_dcovector _(dcovector &vec)
(DO NOT USE) Smart-temporary Complex Double-precision Hermitian Sparse Matrix Class ...