CPPLapack
 All Classes Files Functions Variables Friends Pages
_dgematrix-misc.hpp
Go to the documentation of this file.
1 //=============================================================================
2 /*! nullify all the matrix data */
3 inline void _dgematrix::nullify() const
4 {CPPL_VERBOSE_REPORT;
5  m=0;
6  n=0;
7  array=NULL;
8  darray=NULL;
9 }
10 
11 //=============================================================================
12 /*! destroy all the matrix data */
13 inline void _dgematrix::destroy() const
14 {CPPL_VERBOSE_REPORT;
15  delete [] array;
16  delete [] darray;
17  array=NULL;
18  darray=NULL;
19 }
double ** darray
array of pointers of column head addresses
Definition: _dgematrix.hpp:12
CPPL_INT m
matrix row size
Definition: _dgematrix.hpp:9
double * array
1D array to store matrix data
Definition: _dgematrix.hpp:11
void nullify() const
CPPL_INT n
matrix column size
Definition: _dgematrix.hpp:10
void destroy() const