VERB_code_2.3
_dsymatrix-constructor.hpp
1 //============================================================================
4 {
5 #ifdef CPPL_VERBOSE
6  std::cerr << "# [MARK] _dsymatrix::_dsymatrix()"
7  << std::endl;
8 #endif//CPPL_VERBOSE
9 
11  N =0;
12  Array =NULL;
13  Darray =NULL;
14 
15 #ifdef CPPL_DEBUG
16  std::cerr << "# [NOTE] _dsymatrix::_dsymatrix() "
17  << "A new 0x0 matrix at " << Array
18  << " has been made." << std::endl;
19 #endif//CPPL_DEBUG
20 }
21 
22 //============================================================================
25 {
26 #ifdef CPPL_VERBOSE
27  std::cerr << "# [MARK] _dsymatrix::_dsymatrix(const _dsymatrix&)"
28  << std::endl;
29 #endif//CPPL_VERBOSE
30 
32  N =mat.N;
33  Array =mat.Array;
34  Darray =mat.Darray;
35 
36 #ifdef CPPL_DEBUG
37  std::cerr << "# [NOTE] _dsymatrix::_dsymatrix(const _dsymatrix&) "
38  << "A matrix pointing at " << Array
39  << " has been made."
40  << std::endl;
41 #endif//CPPL_DEBUG
42 }
43 
47 
48 //============================================================================
51 {
52 #ifdef CPPL_VERBOSE
53  std::cerr << "# [MARK] _dsymatrix::~_dsymatrix()"
54  << std::endl;
55 #endif//CPPL_VERBOSE
56 
57 #ifdef CPPL_DEBUG
58  std::cerr << "# [NOTE] _dsymatrix::~_dsymatrix() "
59  << "A _dsymatrix is going to be destructed." << std::endl;
60 #endif//CPPL_DEBUG
61 
63 }
double * Array
1D Array to store matrix data
Definition: _dsymatrix.hpp:8
~_dsymatrix()
Definition: _dsymatrix-constructor.hpp:50
long N
matrix column or row size
Definition: _dsymatrix.hpp:7
(DO NOT USE) Smart-temporary Real Double-precision Symmetric Matrix Class
Definition: _dsymatrix.hpp:3
_dsymatrix()
Definition: _dsymatrix-constructor.hpp:3
double ** Darray
array of pointers of column head addresses
Definition: _dsymatrix.hpp:9