CPPLapack
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Friends
Pages
include
_drovector-
_drovector-constructor.hpp
Go to the documentation of this file.
1
//=============================================================================
2
/*! drovector constructor */
3
inline
_drovector::_drovector
()
4
{CPPL_VERBOSE_REPORT;
5
l
=0;
6
cap
=0;
7
array
=NULL;
8
}
9
10
//=============================================================================
11
/*! _drovector copy constructor */
12
inline
_drovector::_drovector
(
const
_drovector
& vec)
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 */
27
inline
_drovector::~_drovector
()
28
{CPPL_VERBOSE_REPORT;
29
delete
[]
array
;
30
}
_drovector::nullify
void nullify() const
Definition:
_drovector-misc.hpp:3
_drovector::_drovector
_drovector()
Definition:
_drovector-constructor.hpp:3
_drovector::array
double * array
1D array to store vector data
Definition:
_drovector.hpp:11
_drovector::l
CPPL_INT l
vector size
Definition:
_drovector.hpp:9
_drovector::cap
CPPL_INT cap
vector capacity
Definition:
_drovector.hpp:10
_drovector
(DO NOT USE) Smart-temporary Real Double-precision Row Vector Class
Definition:
_drovector.hpp:3
_drovector::~_drovector
~_drovector()
Definition:
_drovector-constructor.hpp:27
Generated by
1.8.6