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