Go to the source code of this file.
return transposed zhsmatrix
Definition at line 3 of file zhsmatrix-calc.hpp.
References _(), conj(), and zhsmatrix::data.
7 const std::vector<zcomponent>::iterator newmat_data_end =newmat.data.end();
8 for(std::vector<zcomponent>::iterator it=newmat.data.begin(); it!=newmat_data_end; it++){
_zhsmatrix conj(const zhsmatrix &mat)
Complex Double-precision Hermitian Sparse Matrix Class.
_dcovector _(dcovector &vec)
return its conjugate matrix
Definition at line 21 of file zhsmatrix-calc.hpp.
References _(), and zhsmatrix::data.
Referenced by t().
25 const std::vector<zcomponent>::iterator newmat_data_end =newmat.data.end();
26 for(std::vector<zcomponent>::iterator it=newmat.data.begin(); it!=newmat_data_end; it++){
_zhsmatrix conj(const zhsmatrix &mat)
Complex Double-precision Hermitian Sparse Matrix Class.
_dcovector _(dcovector &vec)
return its conjugate matrix
Definition at line 35 of file zhsmatrix-calc.hpp.
References _().
39 std::cerr <<
"This function call has no effect since the matrix is Hermitian." << std::endl;
Complex Double-precision Hermitian Sparse Matrix Class.
_dcovector _(dcovector &vec)
void idamax |
( |
CPPL_INT & |
i, |
|
|
CPPL_INT & |
j, |
|
|
const zhsmatrix & |
mat |
|
) |
| |
|
inline |
search the index of element having the largest absolute value in 0-based numbering system
Definition at line 53 of file zhsmatrix-calc.hpp.
References zhsmatrix::data.
55 std::vector<zcomponent>::const_iterator itx(mat.
data.begin());
58 const std::vector<zcomponent>::const_iterator mat_data_end =mat.
data.end();
59 for(std::vector<zcomponent>::const_iterator it=mat.
data.begin(); it!=mat_data_end; it++){
60 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 72 of file zhsmatrix-calc.hpp.
References zhsmatrix::data.
74 std::vector<zcomponent>::const_iterator itx(mat.
data.begin());
77 const std::vector<zcomponent>::const_iterator mat_data_end =mat.
data.end();
78 for(std::vector<zcomponent>::const_iterator it=mat.
data.begin(); it!=mat_data_end; it++){
79 if( vmax < norm(it->v) ){
std::vector< zcomponent > data
matrix data