VERB_code_2.3
_zgbmatrix-constructor.hpp
1 //============================================================================
4 {
5 #ifdef CPPL_VERBOSE
6  std::cerr << "# [MARK] _zgbmatrix::_zgbmatrix()"
7  << std::endl;
8 #endif//CPPL_VERBOSE
9 
11  M =0;
12  N =0;
13  KL =0;
14  KU =0;
15  Array =NULL;
16  Darray =NULL;
17 
18 #ifdef CPPL_DEBUG
19  std::cerr << "# [NOTE] _zgbmatrix::_zgbmatrix() "
20  << "A new 0x0:0,0 matrix at " << Array << " has been made."
21  << std::endl;
22 #endif//CPPL_DEBUG
23 }
24 
25 //============================================================================
28 {
29 #ifdef CPPL_VERBOSE
30  std::cerr << "# [MARK] _zgbmatrix::_zgbmatrix(const _zgbmatrix&)"
31  << std::endl;
32 #endif//CPPL_VERBOSE
33 
35  M =mat.M;
36  N =mat.N;
37  KL =mat.KL;
38  KU =mat.KU;
39  Array =mat.Array;
40  Darray =mat.Darray;
41 
42 #ifdef CPPL_DEBUG
43  std::cerr << "# [NOTE] _zgbmatrix::_zgbmatrix(const _zgbmatrix&) "
44  << "A new matrix at " << Array << " has been made." << std::endl;
45 #endif//CPPL_DEBUG
46 }
47 
51 
52 //============================================================================
55 {
56 #ifdef CPPL_VERBOSE
57  std::cerr << "# [MARK] _zgbmatrix::~_zgbmatrix()"
58  << std::endl;
59 #endif//CPPL_VERBOSE
60 
61 #ifdef CPPL_DEBUG
62  std::cerr << "# [NOTE] _zgbmatrix::~_zgbmatrix() "
63  << "A _zgematrix is is going to be destructed." << std::endl;
64 #endif//CPPL_DEBUG
65 
67 }
~_zgbmatrix()
Definition: _zgbmatrix-constructor.hpp:54
long N
matrix column size
Definition: _zgbmatrix.hpp:8
std::complex< double > * Array
1D Array to store matrix data
Definition: _zgbmatrix.hpp:11
long KU
upper band width
Definition: _zgbmatrix.hpp:10
_zgbmatrix()
Definition: _zgbmatrix-constructor.hpp:3
long M
matrix row size
Definition: _zgbmatrix.hpp:7
(DO NOT USE) Smart-temporary Complex Double-precision General Band Matrix Class
Definition: _zgbmatrix.hpp:3
std::complex< double > ** Darray
array of pointers of column head addresses
Definition: _zgbmatrix.hpp:12
long KL
lower band width
Definition: _zgbmatrix.hpp:9