6 std::cerr <<
"# [MARK] t(const zgbmatrix&)"
10 zgbmatrix newmat(mat.N, mat.M, mat.KU, mat.KL);
11 for(
long i=0; i<newmat.M; i++){
12 for(
long j=max(0,i-newmat.KL); j<min(newmat.N,i+newmat.KU+1); j++){
13 newmat(i,j) =mat(j,i);
25 std::cerr <<
"# [MARK] i(const zgbmatrix&)"
31 std::cerr <<
"[ERROR] i(zgbmatrix&) " << std::endl
32 <<
"This matrix is not square and has no inverse matrix."
34 <<
"Your input was (" << mat.M <<
"x" << mat.N <<
")."
43 mat_cp.zgbsv(mat_inv);
57 std::cerr <<
"# [MARK] conj(const zgbmatrix& mat)"
61 zgbmatrix newmat(mat.M, mat.N, mat.KL, mat.KU);
62 for(
long i=0; i<mat.M; i++){
63 for(
long j=max(0,i-mat.KL); j<min(mat.N,i+mat.KU+1); j++){
64 newmat(i,j) =std::conj(mat(i,j));
75 std::cerr <<
"# [MARK] conjt(const zgbmatrix&)"
79 zgbmatrix newmat(mat.N, mat.M, mat.KU, mat.KL);
80 for(
long i=0; i<newmat.m; i++){
81 for(
long j=max(0,i-newmat.kl); j<min(newmat.n,i+newmat.ku+1); j++){
82 newmat(i,j) =std::conj(mat(j,i));
Complex Double-precision General Dence Matrix Class.
Definition: zgematrix.hpp:3
friend _zcovector conjt(const _zrovector &)
Definition: _zrovector-calc.hpp:33
(DO NOT USE) Smart-temporary Complex Double-precision General Dence Matrix Class
Definition: _zgematrix.hpp:3
friend _zrovector conj(const _zrovector &)
Definition: _zrovector-calc.hpp:20
Complex Double-precision General Band Matrix Class.
Definition: zgbmatrix.hpp:3
(DO NOT USE) Smart-temporary Complex Double-precision General Band Matrix Class
Definition: _zgbmatrix.hpp:3
friend _zcovector t(const _zrovector &)
Definition: _zrovector-calc.hpp:3