|
template<typename Derived > |
| KeyedRowVector (const Eigen::MatrixBase< Derived > &vector, const std::vector< ColKeyType > &colKeys) |
| RowVector constructor.
|
|
| KeyedRowVector (const KeyedRowVector &other) |
| Copy constructor.
|
|
| KeyedRowVector (const KeyedRowVector< Scalar, ColKeyType, Eigen::Dynamic > &other) |
| Copy constructor.
|
|
| KeyedRowVector (KeyedRowVector &&other) noexcept |
| Move constructor.
|
|
| KeyedRowVector (KeyedRowVector< Scalar, ColKeyType, Eigen::Dynamic > &&other) noexcept |
| Move constructor.
|
|
KeyedRowVector & | operator= (const KeyedRowVector &other) |
| Copy assignment operator.
|
|
KeyedRowVector & | operator= (const KeyedRowVector< Scalar, ColKeyType, Eigen::Dynamic > &other) |
| Copy assignment operator.
|
|
KeyedRowVector & | operator= (KeyedRowVector &&other) noexcept |
| Move assignment operator.
|
|
KeyedRowVector & | operator= (KeyedRowVector< Scalar, ColKeyType, Eigen::Dynamic > &&other) noexcept |
| Move assignment operator.
|
|
KeyedVector< Scalar, ColKeyType, Cols > | transposed () const |
| Calculates the transposed vector.
|
|
| ~KeyedRowVector ()=default |
| Destructor.
|
|
template<typename Derived > |
| KeyedRowVectorBase (const Eigen::MatrixBase< Derived > &vector) |
| Constructor.
|
|
template<typename Derived > |
| KeyedRowVectorBase (const Eigen::MatrixBase< Derived > &vector, const std::vector< ColKeyType > &colKeys) |
| Constructor.
|
|
| KeyedRowVectorBase (const KeyedRowVectorBase &other) |
| Copy constructor.
|
|
template<int oCols> |
| KeyedRowVectorBase (const KeyedRowVectorBase< Scalar, ColKeyType, oCols > &other) |
| Copy constructor.
|
|
| KeyedRowVectorBase (KeyedRowVectorBase &&other) noexcept |
| Move constructor.
|
|
template<int oCols> |
| KeyedRowVectorBase (KeyedRowVectorBase< Scalar, ColKeyType, oCols > &&other) noexcept |
| Move constructor.
|
|
| operator Eigen::RowVector< Scalar, Cols > () |
| Conversion into Eigen::RowVector.
|
|
Eigen::Matrix< Scalar, 1, Cols > & | operator() (all_t) |
| Requests the full vector.
|
|
const Eigen::Matrix< Scalar, 1, Cols > & | operator() (all_t) const |
| Requests the full vector.
|
|
Scalar & | operator() (const ColKeyType &colKey) |
| Gets the value for the col key.
|
|
const Scalar & | operator() (const ColKeyType &colKey) const |
| Gets the value for the col key.
|
|
decltype(auto) | operator() (const std::vector< ColKeyType > &colKeys) |
| Gets the values for the col keys.
|
|
decltype(auto) | operator() (const std::vector< ColKeyType > &colKeys) const |
| Gets the values for the col keys.
|
|
KeyedRowVectorBase & | operator= (const KeyedRowVectorBase &other) |
| Copy assignment operator.
|
|
template<int oCols> |
KeyedRowVectorBase & | operator= (const KeyedRowVectorBase< Scalar, ColKeyType, oCols > &other) |
| Copy assignment operator.
|
|
KeyedRowVectorBase & | operator= (KeyedRowVectorBase &&other) noexcept |
| Move assignment operator.
|
|
template<int oCols> |
KeyedRowVectorBase & | operator= (KeyedRowVectorBase< Scalar, ColKeyType, oCols > &&other) noexcept |
| Move assignment operator.
|
|
template<size_t Q> |
decltype(auto) | segment (const std::vector< ColKeyType > &colKeys) |
| Gets the values for the col keys.
|
|
decltype(auto) | segment (const std::vector< ColKeyType > &colKeys) |
| Gets the values for the col keys.
|
|
template<size_t Q> |
decltype(auto) | segment (const std::vector< ColKeyType > &colKeys) const |
| Gets the values for the col keys.
|
|
decltype(auto) | segment (const std::vector< ColKeyType > &colKeys) const |
| Gets the values for the col keys.
|
|
KeyedVectorBase< Scalar, ColKeyType, Cols > | transposed () const |
| Calculates the transposed vector.
|
|
| ~KeyedRowVectorBase ()=default |
| Destructor.
|
|
const std::vector< ColKeyType > & | colKeys () const |
| Returns the col keys.
|
|
decltype(auto) | cols () const |
| Return the cols of the underlying Eigen matrix.
|
|
bool | hasAnyCols (const std::vector< ColKeyType > &keys) const |
| Checks if the matrix has any keys.
|
|
bool | hasCol (const ColKeyType &key) const |
| Checks if the matrix has the key.
|
|
bool | hasCols (const std::vector< ColKeyType > &keys) const |
| Checks if the matrix has multiple keys.
|
|
void | replaceColKey (const ColKeyType &oldKey, const ColKeyType &newKey) |
| Replace the old with the new key.
|
|
template<typename Scalar, typename ColKeyType, int Cols>
class NAV::KeyedRowVector< Scalar, ColKeyType, Cols >
Static sized KeyedRowVector.
- Template Parameters
-
Scalar | Numeric type, e.g. float, double, int or std::complex<float>. |
ColKeyType | Type of the key used for col lookup |
Cols | Number of columns, or Dynamic |