A vector base class that allows modification of the internal representation.
Definition at line 155 of file VectorBase.hpp.
#include <VectorBase.hpp>
Public Member Functions | |
T & | operator() (size_t i) |
returns a modifiable version of the element at index i. More... | |
const BaseClass | operator- () const |
unary minus: multiplies each element in this matrix by -1. More... | |
T & | operator[] (size_t i) |
returns a modifiable version of the element at index i. More... | |
RefVectorBase () | |
constructor More... | |
VecBaseNewAssignOperator (assignFrom,=) | |
VecBaseNewAssignOperator (operator*=, *=) | |
VecBaseNewAssignOperator (operator+=,+=) | |
VecBaseNewAssignOperator (operator-=, -=) | |
VecBaseNewAssignOperator (operator/=,/=) | |
BaseClass & | zeroize () |
![]() | |
ConstVectorBase () | |
Constructor. More... | |
T | operator() (size_t i) const |
returns the element at index i More... | |
T | operator[] (size_t i) const |
returns the element at index i More... | |
size_t | size () const |
Returns the size of the base class. More... | |
Protected Member Functions | |
T & | vecRef (size_t i) |
![]() | |
T | constVectorRef (size_t i) const |
Additional Inherited Members | |
![]() | |
static GNSSTK_EXPORT double | zeroTolerance = 10e-10 |
|
inlineexplicit |
constructor
Definition at line 160 of file VectorBase.hpp.
|
inline |
returns a modifiable version of the element at index i.
Definition at line 165 of file VectorBase.hpp.
|
inline |
unary minus: multiplies each element in this matrix by -1.
Definition at line 240 of file VectorBase.hpp.
|
inline |
returns a modifiable version of the element at index i.
Definition at line 162 of file VectorBase.hpp.
gnsstk::RefVectorBase< T, BaseClass >::VecBaseNewAssignOperator | ( | assignFrom | ) |
Remember that operator= is NOT inherited. Derived classes can use assignFrom to initialize values from a copy constructor or their own operator= rather than explicitly copying them.
gnsstk::RefVectorBase< T, BaseClass >::VecBaseNewAssignOperator | ( | operator* | , |
* | |||
) |
gnsstk::RefVectorBase< T, BaseClass >::VecBaseNewAssignOperator | ( | operator+ | , |
+ | |||
) |
gnsstk::RefVectorBase< T, BaseClass >::VecBaseNewAssignOperator | ( | operator- | , |
- | |||
) |
gnsstk::RefVectorBase< T, BaseClass >::VecBaseNewAssignOperator | ( | operator/ | , |
/ | |||
) |
|
inlineprotected |
Returns a modifiable object at index i.
VectorException |
Definition at line 253 of file VectorBase.hpp.
|
inline |
Any value in the vector with absolute value below zeroTolerance is set to zero.
Definition at line 169 of file VectorBase.hpp.