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 its transposed zgbmatrix
Definition at line 3 of file _zgbmatrix-calc.hpp.
References _(), _zgbmatrix::destroy(), i(), _zgbmatrix::kl, zgbmatrix::kl, zgbmatrix::ku, _zgbmatrix::ku, _zgbmatrix::m, zgbmatrix::m, _zgbmatrix::n, and zgbmatrix::n.
_zgematrix i | ( | const _zgbmatrix & | mat | ) | [inline] |
return its inverse matrix
Definition at line 18 of file _zgbmatrix-calc.hpp.
References _(), zgematrix::identity(), _zgbmatrix::m, zgbmatrix::m, zgbmatrix::n, _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_cp.m,mat_cp.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 43 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 56 of file _zgbmatrix-calc.hpp.
References _(), conj(), _zgbmatrix::destroy(), i(), _zgbmatrix::kl, zgbmatrix::kl, zgbmatrix::ku, _zgbmatrix::ku, _zgbmatrix::m, zgbmatrix::m, _zgbmatrix::n, and zgbmatrix::n.