CPPLapack
 All Classes Files Functions Variables Friends Pages
_dgbmatrix-misc.hpp
Go to the documentation of this file.
1 //=============================================================================
2 /*! nullify all the matrix data */
3 inline void _dgbmatrix::nullify() const
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 /*! destroy all the matrix data */
15 inline void _dgbmatrix::destroy() const
16 {CPPL_VERBOSE_REPORT;
17  delete [] array;
18  delete [] darray;
19  array=NULL;
20  darray=NULL;
21 }
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
void destroy() const
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
CPPL_INT m
matrix row size
Definition: _dgbmatrix.hpp:9