Public Types | |
| enum | { IsRowMajor, PacketAccess, RowsAtCompileTime, ColsAtCompileTime, SizeAtCompileTime } |
|
typedef ei_traits< Derived > ::AlignedDerivedType | AlignedDerivedType |
| typedef MatrixBase< Derived > | Base |
| typedef Base::PacketScalar | PacketScalar |
|
typedef ei_traits< Derived > ::Scalar | Scalar |
Public Member Functions | |
| const Scalar | coeff (int index) const |
| const Scalar & | coeff (int row, int col) const |
| Scalar & | coeffRef (int index) |
| Scalar & | coeffRef (int row, int col) |
| int | cols () const |
| const Scalar * | data () const |
| AlignedDerivedType | forceAligned () |
| MapBase (const Scalar *data, int rows, int cols) | |
| MapBase (const Scalar *data, int size) | |
| MapBase (const Scalar *data) | |
| Derived & | operator*= (const Scalar &other) |
| template<typename OtherDerived > | |
| Derived & | operator+= (const MatrixBase< OtherDerived > &other) |
| template<typename OtherDerived > | |
| Derived & | operator-= (const MatrixBase< OtherDerived > &other) |
| Derived & | operator/= (const Scalar &other) |
| template<typename OtherDerived > | |
| Derived & | operator= (const MatrixBase< OtherDerived > &other) |
| Derived & | operator= (const MapBase &other) |
| template<int LoadMode> | |
| PacketScalar | packet (int index) const |
| template<int LoadMode> | |
| PacketScalar | packet (int row, int col) const |
| int | rows () const |
| int | stride () const |
| template<int StoreMode> | |
| void | writePacket (int index, const PacketScalar &x) |
| template<int StoreMode> | |
| void | writePacket (int row, int col, const PacketScalar &x) |
Protected Attributes | |
|
const ei_int_if_dynamic < ColsAtCompileTime > | m_cols |
| const Scalar *EIGEN_RESTRICT | m_data |
|
const ei_int_if_dynamic < RowsAtCompileTime > | m_rows |
Expression classes inheriting MapBase must define the constant PacketAccess, and type AlignedDerivedType in their respective ei_traits<> specialization structure. The value of PacketAccess can be either:
AlignedDerivedType should correspond to the equivalent expression type with PacketAccess being ForceAligned.
| int cols | ( | void | ) | const [inline] |
Reimplemented from MatrixBase< Derived >.
| AlignedDerivedType forceAligned | ( | ) | [inline] |
*this but having the PacketAccess constant set to ForceAligned. Must be reimplemented by the derived class. | Derived& operator= | ( | const MatrixBase< OtherDerived > & | other | ) | [inline] |
| int rows | ( | void | ) | const [inline] |
Reimplemented from MatrixBase< Derived >.
| int stride | ( | void | ) | const [inline] |
Reimplemented from MatrixBase< Derived >.
Reimplemented in Map< MatrixType, PacketAccess >.
1.5.9