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