A matrix or vector expression mapping an existing array of data. More...
#include <Map.h>
Public Types | |
typedef ei_traits< Map > ::AlignedDerivedType | AlignedDerivedType |
Public Member Functions | |
AlignedDerivedType | _convertToForceAligned () |
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 |
A matrix or vector expression mapping an existing array of data.
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; and most of the time this is the only way it is used. |
This class represents a matrix or vector expression mapping an existing array of data. It can be used to let Eigen interface without any overhead with non-Eigen data structures, such as plain C arrays or structures from other libraries.
This class is the return type of Matrix::Map() but can also be used directly.
Definition at line 59 of file Map.h.
typedef ei_traits<Map>::AlignedDerivedType Map< MatrixType, PacketAccess >::AlignedDerivedType |
Reimplemented from MapBase< Map< MatrixType, PacketAccess > >.
AlignedDerivedType Map< MatrixType, PacketAccess >::_convertToForceAligned | ( | ) | [inline] |
void Map< MatrixType, PacketAccess >::resize | ( | int | size | ) | [inline] |
void Map< MatrixType, PacketAccess >::resize | ( | int | rows, | |
int | cols | |||
) | [inline] |
int Map< MatrixType, PacketAccess >::stride | ( | void | ) | const [inline] |
Reimplemented from MapBase< Map< MatrixType, PacketAccess > >.