6 std::cerr <<
"# [MARK] operator+(const zgbmatrix&)"
18 std::cerr <<
"# [MARK] operator-(const zgbmatrix&)"
22 zgbmatrix newmat(mat.M,mat.N,mat.KL,mat.KU);
23 for(
long i=0; i<(newmat.
kl+newmat.
ku+1)*newmat.
n; i++){
24 newmat.
array[i]=-mat.Array[i];
friend _zrovector operator-(const _zrovector &)
Definition: _zrovector-unary.hpp:15
long const & n
matrix column size (readable)
Definition: zgbmatrix.hpp:17
Complex Double-precision General Band Matrix Class.
Definition: zgbmatrix.hpp:3
long const & kl
lower band width (readable)
Definition: zgbmatrix.hpp:18
long const & ku
upper band width (readable)
Definition: zgbmatrix.hpp:19
(DO NOT USE) Smart-temporary Complex Double-precision General Band Matrix Class
Definition: _zgbmatrix.hpp:3
std::complex< double > *const & array
1D array to store matrix data (readable)
Definition: zgbmatrix.hpp:20
friend const _zrovector & operator+(const _zrovector &)
Definition: _zrovector-unary.hpp:3