CPPLapack
 All Classes Files Functions Variables Friends Pages
_zhematrix-constructor.hpp
Go to the documentation of this file.
1 //=============================================================================
2 /*! _zhematrix constructor without arguments */
4  :m(n)
5 {CPPL_VERBOSE_REPORT;
6  //////// initialize ////////
7  n =0;
8  array =NULL;
9  darray =NULL;
10 }
11 
12 //=============================================================================
13 /*! _zhematrix copy constructor */
15  :m(n)
16 {CPPL_VERBOSE_REPORT;
17  //////// initialize ////////
18  n =mat.n;
19  array =mat.array;
20  darray =mat.darray;
21 
22  mat.nullify();
23 }
24 
25 ///////////////////////////////////////////////////////////////////////////////
26 ///////////////////////////////////////////////////////////////////////////////
27 ///////////////////////////////////////////////////////////////////////////////
28 
29 //=============================================================================
30 /*! zhematrix destructor */
32 {CPPL_VERBOSE_REPORT;
33  delete [] array;
34  delete [] darray;
35 }
(DO NOT USE) Smart-temporary Complex Double-precision Hermitian Matrix Class
Definition: _zhematrix.hpp:3
CPPL_INT n
matrix column size
Definition: _zhematrix.hpp:11
void nullify() const
comple * array
1D array to store matrix data
Definition: _zhematrix.hpp:12
comple ** darray
array of pointers of column head addresses
Definition: _zhematrix.hpp:13