This class implements a dynamic vector of DoubleMatrix values.
More...
#include <doublematrixptrvector.h>
This class implements a dynamic vector of DoubleMatrix values.
◆ DoubleMatrixPtrVector() [1/3]
DoubleMatrixPtrVector::DoubleMatrixPtrVector |
( |
| ) |
|
|
inline |
◆ DoubleMatrixPtrVector() [2/3]
DoubleMatrixPtrVector::DoubleMatrixPtrVector |
( |
int |
sz | ) |
|
This is the DoubleMatrixPtrVector constructor for a specified size.
- Parameters
-
sz | is the size of the vector to be created |
- Note
- The elements of the vector will all be created, and set to zero
◆ DoubleMatrixPtrVector() [3/3]
◆ ~DoubleMatrixPtrVector()
DoubleMatrixPtrVector::~DoubleMatrixPtrVector |
( |
| ) |
|
This is the DoubleMatrixPtrVector destructor.
- Note
- This will free all the memory allocated to all the elements of the vector
◆ Delete()
void DoubleMatrixPtrVector::Delete |
( |
int |
pos | ) |
|
This will delete an entry from the vector.
- Parameters
-
pos | is the element of the vector to be deleted |
- Note
- This will free the memory allocated to the deleted element of the vector
◆ operator[]() [1/2]
This will return the value of an element of the vector.
- Parameters
-
pos | is the element of the vector to be returned |
- Returns
- the value of the specified element
◆ operator[]() [2/2]
DoubleMatrix* const& DoubleMatrixPtrVector::operator[] |
( |
int |
pos | ) |
const |
|
inline |
This will return the value of an element of the vector.
- Parameters
-
pos | is the element of the vector to be returned |
- Returns
- the value of the specified element
◆ resize()
This will add one new entry to the vector.
- Parameters
-
value | is the value that will be entered for the new entry |
◆ resizeBlank()
void DoubleMatrixPtrVector::resizeBlank |
( |
int |
addsize | ) |
|
This will add new blank (ie. NULL) entries to the vector.
- Parameters
-
addsize | is the number of blank entries that will be entered |
◆ Size()
int DoubleMatrixPtrVector::Size |
( |
| ) |
const |
|
inline |
This will return the size of the vector.
- Returns
- the size of the vector
◆ size
int DoubleMatrixPtrVector::size |
|
protected |
This is the size of the vector.
The documentation for this class was generated from the following files: