9 const std::vector<dcomponent>::iterator newmat_data_end =newmat.
data.end();
10 for(std::vector<dcomponent>::iterator it=newmat.
data.begin(); it!=newmat_data_end; it++){
26 if(mat.
data.size()==0){
28 std::cerr <<
"The dgsmatrix is a zero matrix." << std::endl;
33 std::vector<dcomponent>::const_iterator itx(mat.
data.begin());
36 const std::vector<dcomponent>::const_iterator mat_data_end =mat.
data.end();
37 for(std::vector<dcomponent>::const_iterator it=mat.
data.begin(); it!=mat_data_end; it++){
38 if( vmax < fabs(it->v) ){
53 if(mat.
data.size()==0){
58 std::vector<dcomponent>::const_iterator itx(mat.
data.begin());
61 const std::vector<dcomponent>::const_iterator mat_data_end =mat.
data.end();
62 for(std::vector<dcomponent>::const_iterator it=mat.
data.begin(); it!=mat_data_end; it++){
63 if( vmax < fabs(it->v) ){
Real Double-precision General Sparse Matrix Class.
std::vector< dcomponent > data
matrix data
CPPL_INT n
matrix column size
std::vector< std::vector< CPPL_INT > > cols
array of vector to store the entry information of component for each column
_dgematrix i(const _dgbmatrix &mat)
(DO NOT USE) Smart-temporary Real Double-precision General Sparse Matrix Class
void swap(dcovector &u, dcovector &v)
_dgsmatrix t(const dgsmatrix &mat)
double damax(const dgsmatrix &mat)
_dcovector _(dcovector &vec)
std::vector< std::vector< CPPL_INT > > rows
array of vector to store the entry information of component for each row
CPPL_INT m
matrix row size
void idamax(CPPL_INT &i, CPPL_INT &j, const dgsmatrix &mat)