Go to the source code of this file.
return transposed _dgsmatrix
Definition at line 3 of file _dgsmatrix-calc.hpp.
References _dgsmatrix::cols, _dgsmatrix::data, _dgsmatrix::rows, and swap().
5 const std::vector<dcomponent>::iterator mat_data_end =mat.
data.end();
6 for(std::vector<dcomponent>::iterator it=mat.
data.begin(); it!=mat_data_end; it++){
std::vector< std::vector< CPPL_INT > > cols
array of vector to store the entry information of component for each column
std::vector< std::vector< CPPL_INT > > rows
array of vector to store the entry information of component for each row
void swap(dcovector &u, dcovector &v)
std::vector< dcomponent > data
matrix data
void idamax |
( |
CPPL_INT & |
i, |
|
|
CPPL_INT & |
j, |
|
|
const _dgsmatrix & |
mat |
|
) |
| |
|
inline |
search the index of element having the largest absolute value in 0-based numbering system
Definition at line 22 of file _dgsmatrix-calc.hpp.
References _dgsmatrix::data, and _dgsmatrix::destroy().
24 std::vector<dcomponent>::const_iterator itx(mat.
data.begin());
27 const std::vector<dcomponent>::const_iterator mat_data_end =mat.
data.end();
28 for(std::vector<dcomponent>::const_iterator it=mat.
data.begin(); it!=mat_data_end; it++){
_dgematrix i(const _dgbmatrix &mat)
friend _dgematrix i(const _dgematrix &)
std::vector< dcomponent > data
matrix data
return its largest absolute value
Definition at line 43 of file _dgsmatrix-calc.hpp.
References _dgsmatrix::data, and _dgsmatrix::destroy().
45 std::vector<dcomponent>::const_iterator itx(mat.
data.begin());
48 const std::vector<dcomponent>::const_iterator mat_data_end =mat.
data.end();
49 for(std::vector<dcomponent>::const_iterator it=mat.
data.begin(); it!=mat_data_end; it++){
std::vector< dcomponent > data
matrix data