MatrixType | the equivalent matrix type of the mapped data | |
_PacketAccess | allows to enforce aligned loads and stores if set to ForceAligned. The default is AsRequested. This parameter is internaly used by Eigen in expressions such as Map<...>(...) += other; |
This class is the return type of Matrix::Map() but can also be used directly.
Public Types | |
typedef ei_traits< Map > ::AlignedDerivedType | AlignedDerivedType |
Public Member Functions | |
AlignedDerivedType | forceAligned () |
Map (const Scalar *data, int rows, int cols) | |
Map (const Scalar *data, int size) | |
Map (const Scalar *data) | |
void | resize (int size) |
void | resize (int rows, int cols) |
int | stride () const |
AlignedDerivedType forceAligned | ( | ) | [inline] |
*this
but having the PacketAccess
constant set to ForceAligned
. Must be reimplemented by the derived class. Reimplemented from MapBase.
int stride | ( | void | ) | const [inline] |
Reimplemented from MapBase.