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