CPPLapack
 All Classes Files Functions Variables Friends Pages
_drovector-constructor.hpp
Go to the documentation of this file.
1 //=============================================================================
2 /*! drovector constructor */
4 {CPPL_VERBOSE_REPORT;
5  l =0;
6  cap =0;
7  array =NULL;
8 }
9 
10 //=============================================================================
11 /*! _drovector copy constructor */
13 {CPPL_VERBOSE_REPORT;
14  l =vec.l;
15  cap =vec.cap;
16  array =vec.array;
17 
18  vec.nullify();
19 }
20 
21 ///////////////////////////////////////////////////////////////////////////////
22 ///////////////////////////////////////////////////////////////////////////////
23 ///////////////////////////////////////////////////////////////////////////////
24 
25 //=============================================================================
26 /*! _drovector destructor */
28 {CPPL_VERBOSE_REPORT;
29  delete[] array;
30 }
void nullify() const
double * array
1D array to store vector data
Definition: _drovector.hpp:11
CPPL_INT l
vector size
Definition: _drovector.hpp:9
CPPL_INT cap
vector capacity
Definition: _drovector.hpp:10
(DO NOT USE) Smart-temporary Real Double-precision Row Vector Class
Definition: _drovector.hpp:3