|
| template<typename Derived> |
| | KeyedVector (const Eigen::MatrixBase< Derived > &vector, std::span< const RowKeyType > rowKeys) |
| | Vector constructor.
|
| | KeyedVector (const KeyedVector &other) |
| | Copy constructor.
|
| | KeyedVector (const KeyedVector< Scalar, RowKeyType, Eigen::Dynamic > &other) |
| | Copy constructor.
|
| | KeyedVector (KeyedVector &&other) noexcept |
| | Move constructor.
|
| | KeyedVector (KeyedVector< Scalar, RowKeyType, Eigen::Dynamic > &&other) noexcept |
| | Move constructor.
|
| KeyedVector & | operator= (const KeyedVector &other) |
| | Copy assignment operator.
|
| KeyedVector & | operator= (const KeyedVector< Scalar, RowKeyType, Eigen::Dynamic > &other) |
| | Copy assignment operator.
|
| KeyedVector & | operator= (KeyedVector &&other) noexcept |
| | Move assignment operator.
|
| KeyedVector & | operator= (KeyedVector< Scalar, RowKeyType, Eigen::Dynamic > &&other) noexcept |
| | Move assignment operator.
|
| KeyedRowVector< Scalar, RowKeyType, Rows > | transposed () const |
| | Calculates the transposed vector.
|
| | ~KeyedVector ()=default |
| | Destructor.
|
| template<typename Derived> |
| | KeyedVectorBase (const Eigen::MatrixBase< Derived > &vector) |
| | Constructor.
|
| template<typename Derived> |
| | KeyedVectorBase (const Eigen::MatrixBase< Derived > &vector, std::span< const RowKeyType > rowKeys) |
| | Constructor.
|
| | KeyedVectorBase (const KeyedVectorBase &other) |
| | Copy constructor.
|
| template<int oRows> |
| | KeyedVectorBase (const KeyedVectorBase< Scalar, RowKeyType, oRows > &other) |
| | Copy constructor.
|
| | KeyedVectorBase (KeyedVectorBase &&other) noexcept |
| | Move constructor.
|
| template<int oRows> |
| | KeyedVectorBase (KeyedVectorBase< Scalar, RowKeyType, oRows > &&other) noexcept |
| | Move constructor.
|
| | operator Eigen::Vector< Scalar, Rows > () |
| | Conversion into Eigen::Vector.
|
| Eigen::Matrix< Scalar, Rows, 1 > & | operator() (all_t) |
| | Requests the full vector.
|
| const Eigen::Matrix< Scalar, Rows, 1 > & | operator() (all_t) const |
| | Requests the full vector.
|
| Scalar & | operator() (const RowKeyType &rowKey) |
| | Gets the value for the row key.
|
| const Scalar & | operator() (const RowKeyType &rowKey) const |
| | Gets the value for the row key.
|
| decltype(auto) | operator() (std::span< const RowKeyType > rowKeys) |
| | Gets the values for the row keys.
|
| decltype(auto) | operator() (std::span< const RowKeyType > rowKeys) const |
| | Gets the values for the row keys.
|
| KeyedVectorBase & | operator= (const KeyedVectorBase &other) |
| | Copy assignment operator.
|
| template<int oRows> |
| KeyedVectorBase & | operator= (const KeyedVectorBase< Scalar, RowKeyType, oRows > &other) |
| | Copy assignment operator.
|
| KeyedVectorBase & | operator= (KeyedVectorBase &&other) noexcept |
| | Move assignment operator.
|
| template<int oRows> |
| KeyedVectorBase & | operator= (KeyedVectorBase< Scalar, RowKeyType, oRows > &&other) noexcept |
| | Move assignment operator.
|
| template<size_t P> |
| decltype(auto) | segment (std::span< const RowKeyType > rowKeys) |
| | Gets the values for the row keys.
|
| decltype(auto) | segment (std::span< const RowKeyType > rowKeys) |
| | Gets the values for the row keys.
|
| template<size_t P> |
| decltype(auto) | segment (std::span< const RowKeyType > rowKeys) const |
| | Gets the values for the row keys.
|
| decltype(auto) | segment (std::span< const RowKeyType > rowKeys) const |
| | Gets the values for the row keys.
|
| KeyedRowVectorBase< Scalar, RowKeyType, Rows > | transposed () const |
| | Calculates the transposed vector.
|
| | ~KeyedVectorBase ()=default |
| | Destructor.
|
| bool | hasAnyRows (std::span< const RowKeyType > keys) const |
| | Checks if the matrix has any key.
|
| bool | hasRow (const RowKeyType &key) const |
| | Checks if the matrix has the key.
|
| bool | hasRows (std::span< const RowKeyType > keys) const |
| | Checks if the matrix has multiple keys.
|
| void | replaceRowKey (const RowKeyType &oldKey, const RowKeyType &newKey) |
| | Replace the old with the new key.
|
| const std::vector< RowKeyType > & | rowKeys () const |
| | Returns the row keys.
|
| decltype(auto) | rows () const |
| | Return the rows of the underlying Eigen matrix.
|
template<typename Scalar, typename RowKeyType, int Rows>
class NAV::KeyedVector< Scalar, RowKeyType, Rows >
Static sized KeyedVector.
- Template Parameters
-
| Scalar | Numeric type, e.g. float, double, int or std::complex<float>. |
| RowKeyType | Type of the key used for row lookup |
| Rows | Number of rows, or Dynamic |
Definition at line 1467 of file KeyedMatrix.hpp.