CPPLapack
 All Classes Files Functions Variables Friends Pages
_drovector-misc.hpp
Go to the documentation of this file.
1 //=============================================================================
2 /*! nullify all the vector data */
3 inline void _drovector::nullify() const
4 {CPPL_VERBOSE_REPORT;
5  l=0;
6  cap=0;
7  array=NULL;
8 }
9 
10 //=============================================================================
11 /*! destroy all the vector data */
12 inline void _drovector::destroy() const
13 {CPPL_VERBOSE_REPORT;
14  delete [] array;
15  array=NULL;
16 }
void nullify() const
double * array
1D array to store vector data
Definition: _drovector.hpp:11
CPPL_INT l
vector size
Definition: _drovector.hpp:9
void destroy() const
CPPL_INT cap
vector capacity
Definition: _drovector.hpp:10