CPPLapack
 All Classes Files Functions Variables Friends Pages
_zgsmatrix-misc.hpp
Go to the documentation of this file.
1 //=============================================================================
2 /*! nullify all the matrix data */
3 inline void _zgsmatrix::nullify() const
4 {CPPL_VERBOSE_REPORT;
5  m=0;
6  n=0;
7  data.clear();
8  rows.clear();
9  cols.clear();
10 }
11 
12 //=============================================================================
13 /*! destroy all the matrix data */
14 inline void _zgsmatrix::destroy() const
15 {CPPL_VERBOSE_REPORT;
16  data.clear();
17  rows.clear();
18  cols.clear();
19 }
std::vector< std::vector< CPPL_INT > > rows
array of vector to store the entry information of component for each row
Definition: _zgsmatrix.hpp:12
std::vector< std::vector< CPPL_INT > > cols
array of vector to store the entry information of component for each column
Definition: _zgsmatrix.hpp:13
CPPL_INT n
matrix column size
Definition: _zgsmatrix.hpp:10
CPPL_INT m
matrix row size
Definition: _zgsmatrix.hpp:9
void destroy() const
void nullify() const
std::vector< zcomponent > data
matrix data
Definition: _zgsmatrix.hpp:11