Go to the source code of this file.
Functions | |
_zgbmatrix | t (const zgbmatrix &mat) |
_zgematrix | i (const zgbmatrix &mat) |
_zgbmatrix | conj (const zgbmatrix &mat) |
_zgbmatrix | conjt (const zgbmatrix &mat) |
_zgbmatrix t | ( | const zgbmatrix & | mat | ) | [inline] |
return transposed zgbmatrix
Definition at line 3 of file zgbmatrix-calc.hpp.
References _(), i(), zgbmatrix::kl, zgbmatrix::ku, zgbmatrix::m, and zgbmatrix::n.
_zgematrix i | ( | const zgbmatrix & | mat | ) | [inline] |
return its inverse matrix
Definition at line 17 of file zgbmatrix-calc.hpp.
References _(), zgematrix::identity(), zgbmatrix::m, zgbmatrix::n, and zgbmatrix::zgbsv().
{VERBOSE_REPORT; #ifdef CPPL_DEBUG if(mat.m!=mat.n){ ERROR_REPORT; std::cerr << "This matrix is not square and has no inverse matrix." << std::endl << "Your input was (" << mat.m << "x" << mat.n << ")." << std::endl; exit(1); } #endif//CPPL_DEBUG zgbmatrix mat_cp(mat); zgematrix mat_inv(mat.m,mat.n); mat_inv.identity(); mat_cp.zgbsv(mat_inv); return _(mat_inv); }
_zgbmatrix conj | ( | const zgbmatrix & | mat | ) | [inline] |
return its conjugate matrix
Definition at line 42 of file zgbmatrix-calc.hpp.
References _(), conj(), i(), zgbmatrix::kl, zgbmatrix::ku, zgbmatrix::m, and zgbmatrix::n.
_zgbmatrix conjt | ( | const zgbmatrix & | mat | ) | [inline] |
return its conjugate transposed zgbmatrix
Definition at line 55 of file zgbmatrix-calc.hpp.
References _(), conj(), i(), zgbmatrix::kl, zgbmatrix::ku, zgbmatrix::m, and zgbmatrix::n.