My Project
_dgbmatrix-constructor.hpp
1 //============================================================================
4 {
5 #ifdef CPPL_VERBOSE
6  std::cerr << "# [MARK] _dgbmatrix::_dgbmatrix()"
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] _dgbmatrix::_dgbmatrix() "
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] _dgbmatrix::_dgbmatrix(const _dgbmatrix&)"
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] _dgbmatrix::_dgbmatrix(const _dgbmatrix&) "
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] _dgbmatrix::~_dgbmatrix()"
58  << std::endl;
59 #endif//CPPL_VERBOSE
60 
61 #ifdef CPPL_DEBUG
62  std::cerr << "# [NOTE] _dgbmatrix::~_dgbmatrix() "
63  << "A _dgematrix is is going to be destructed." << std::endl;
64 #endif//CPPL_DEBUG
65 
67 }
double ** Darray
array of pointers of column head addresses
Definition: _dgbmatrix.hpp:12
long KL
lower band width
Definition: _dgbmatrix.hpp:9
long M
matrix row size
Definition: _dgbmatrix.hpp:7
long N
matrix column size
Definition: _dgbmatrix.hpp:8
double * Array
1D Array to store matrix data
Definition: _dgbmatrix.hpp:11
~_dgbmatrix()
Definition: _dgbmatrix-constructor.hpp:54
(DO NOT USE) Smart-temporary Real Double-precision General Band Matrix Class
Definition: _dgbmatrix.hpp:3
_dgbmatrix()
Definition: _dgbmatrix-constructor.hpp:3
long KU
upper band width
Definition: _dgbmatrix.hpp:10