ColumnVectorShape< FP > Class Template Reference
|
CPP API
|
Public Types |
Public Member Functions |
Static Public Member Functions |
Private Attributes |
List of all members
mio::ColumnVectorShape< FP > Class Template Reference
shape of a column vector. More...
#include <matrix_shape.h>
Public Types | |
| using | Matrix = Eigen::VectorX< FP > |
Public Member Functions | |
| Eigen::Index | cols () const |
| number of columns. More... | |
| ColumnVectorShape (Eigen::Index r) | |
| construct the shape of a column vector. More... | |
| bool | operator!= (const ColumnVectorShape &other) const |
| bool | operator== (const ColumnVectorShape &other) const |
| equality comparators. More... | |
| Eigen::Index | rows () const |
| number of rows. More... | |
| template<class IOContext > | |
| void | serialize (IOContext &io) const |
| serialize this. More... | |
| Eigen::Index | size () const |
| number of rows. More... | |
Static Public Member Functions | |
| template<class IOContext > | |
| static IOResult< ColumnVectorShape > | deserialize (IOContext &io) |
| deserialize an object of this class. More... | |
| template<class ME > | |
| static ColumnVectorShape | get_shape_of (const Eigen::MatrixBase< ME > &m) |
| extract the shape of a column vector. More... | |
Private Attributes | |
| Eigen::Index | m_rows |
Detailed Description
Member Typedef Documentation
◆ Matrix
template<typename FP >
| using mio::ColumnVectorShape< FP >::Matrix = Eigen::VectorX<FP> |
Constructor & Destructor Documentation
◆ ColumnVectorShape()
template<typename FP >
|
inlineexplicit |
construct the shape of a column vector.
- Parameters
-
r number of rows.
Member Function Documentation
◆ cols()
template<typename FP >
|
inline |
number of columns.
equal to 1.
◆ deserialize()
template<typename FP >
template<class IOContext >
|
inlinestatic |
deserialize an object of this class.
- See also
- mio::deserialize
◆ get_shape_of()
template<typename FP >
template<class ME >
|
inlinestatic |
extract the shape of a column vector.
- Parameters
-
m vector to take the shape of.
- Template Parameters
-
ME matrix expression.
◆ operator!=()
template<typename FP >
|
inline |
◆ operator==()
template<typename FP >
|
inline |
equality comparators.
◆ rows()
template<typename FP >
|
inline |
number of rows.
◆ serialize()
template<typename FP >
template<class IOContext >
|
inline |
serialize this.
- See also
- mio::serialize
◆ size()
template<typename FP >
|
inline |
number of rows.
Member Data Documentation
◆ m_rows
template<typename FP >
|
private |
Generated by