CPPLapack
 All Classes Files Functions Variables Friends Pages
_dcovector-constructor.hpp
Go to the documentation of this file.
1 //=============================================================================
2 /*! _dcovector constructor */
4 {CPPL_VERBOSE_REPORT;CPPL_VERBOSE_REPORT;
5  l =0;
6  cap =0;
7  array =NULL;
8 }
9 
10 //=============================================================================
11 /*! _dcovector copy constructor */
13 {CPPL_VERBOSE_REPORT;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 /*! _dcovector destructor */
28 {CPPL_VERBOSE_REPORT;CPPL_VERBOSE_REPORT;
29  delete[] array;
30 }
CPPL_INT l
vector size
Definition: _dcovector.hpp:9
CPPL_INT cap
vector capacity
Definition: _dcovector.hpp:10
(DO NOT USE) Smart-temporary Real Double-precision Column Vector Class
Definition: _dcovector.hpp:3
double * array
1D array to store vector data
Definition: _dcovector.hpp:11
void nullify() const