0.2.0
|
Base class for Keyed matrices with multiple rows of static size. More...
Additional Inherited Members | |
Public Member Functions inherited from NAV::internal::KeyedMatrixRowsBase< Scalar, RowKeyType, Rows, Cols > | |
bool | hasAnyRows (const std::vector< 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 (const std::vector< 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. | |
Protected Attributes inherited from NAV::internal::KeyedMatrixRowsBase< Scalar, RowKeyType, Rows, Cols > | |
unordered_map< RowKeyType, Eigen::Index > | rowIndices |
RowKey to Row Index mapping. | |
std::vector< RowKeyType > | rowKeysVector |
Row Keys. | |
std::vector< Eigen::Index > | rowSlice |
Row Slice used for accessing. | |
Protected Attributes inherited from NAV::internal::KeyedMatrixStorage< Scalar, Rows, Cols > | |
Eigen::Matrix< Scalar, Rows, Cols > | matrix |
Data storage of the type. | |
Base class for Keyed matrices with multiple rows of static size.
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 |
Cols | Number of columns, or Dynamic |