Go to the source code of this file.
return transposed dssmatrix
Definition at line 3 of file dssmatrix-calc.hpp.
References _().
7 std::cerr <<
"This function call has no effect since the matrix is symmetric." << std::endl;
Real Double-precision Symmetric Sparse Matrix Class.
_dcovector _(dcovector &vec)
void idamax |
( |
CPPL_INT & |
i, |
|
|
CPPL_INT & |
j, |
|
|
const dssmatrix & |
mat |
|
) |
| |
|
inline |
search the index of element having the largest absolute value in 0-based numbering system
Definition at line 21 of file dssmatrix-calc.hpp.
References dssmatrix::data.
23 std::vector<dcomponent>::const_iterator itx(mat.
data.begin());
26 const std::vector<dcomponent>::const_iterator mat_data_end =mat.
data.end();
27 for(std::vector<dcomponent>::const_iterator it=mat.
data.begin(); it!=mat_data_end; it++){
28 if( vmax < fabs(it->v) ){
std::vector< dcomponent > data
matrix data
_dgematrix i(const _dgbmatrix &mat)
friend _dgematrix i(const _dgematrix &)
return its largest absolute value
Definition at line 40 of file dssmatrix-calc.hpp.
References dssmatrix::data.
42 std::vector<dcomponent>::const_iterator itx(mat.
data.begin());
45 const std::vector<dcomponent>::const_iterator mat_data_end =mat.
data.end();
46 for(std::vector<dcomponent>::const_iterator it=mat.
data.begin(); it!=mat_data_end; it++){
47 if( vmax < fabs(it->v) ){
std::vector< dcomponent > data
matrix data