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