|
| | VectorFP (void) |
| |
| | ~VectorFP (void) |
| |
| void | appendValue (const cawlign_fp) |
| |
| void | appendValues (const cawlign_fp *, long) |
| |
| void | storeValue (const cawlign_fp, const unsigned long) |
| |
|
cawlign_fp | value (const long idx) |
| |
|
unsigned long | length (void) const |
| |
|
const cawlign_fp * | values (void) |
| |
|
cawlign_fp * | rvalues (void) |
| |
|
|
static long | vDefaultLength = 16 |
| |
|
static long | vDefaultBoost = 16 |
| |
◆ VectorFP()
| VectorFP::VectorFP |
( |
void | | ) |
|
Initializes an empty vector of floating-point values with a default initial capacity.
◆ ~VectorFP()
| VectorFP::~VectorFP |
( |
void | | ) |
|
Frees the memory allocated for the floating-point vector data.
◆ appendValue()
| void VectorFP::appendValue |
( |
const cawlign_fp | l | ) |
|
Appends a floating-point value to the VectorFP.
Adds a floating-point value to the end of the vector, growing the vector if needed.
- Parameters
-
| l | The floating-point value to append. |
◆ appendValues()
| void VectorFP::appendValues |
( |
const cawlign_fp * | l, |
|
|
long | N ) |
Appends multiple floating-point values to the VectorFP.
- Parameters
-
| l | The array of floating-point values to append. |
| N | The number of values to append. |
◆ storeValue()
| void VectorFP::storeValue |
( |
const cawlign_fp | v, |
|
|
const unsigned long | l ) |
Stores a floating-point value at a specific index in the VectorFP.
If the index is beyond the current capacity, the vector grows to accommodate the value.
- Parameters
-
| v | The floating-point value to store. |
| l | The index at which to store the value. |
The documentation for this class was generated from the following files: