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