Expression of a mathematical vector or matrix as an array object. More...
#include <ArrayWrapper.h>
Public Types | |
typedef ArrayBase< ArrayWrapper > | Base |
typedef internal::nested < ExpressionType >::type | NestedExpressionType |
Public Member Functions | |
ArrayWrapper (const ExpressionType &matrix) | |
Index | rows () const |
Index | cols () const |
Index | outerStride () const |
Index | innerStride () const |
const CoeffReturnType | coeff (Index row, Index col) const |
Scalar & | coeffRef (Index row, Index col) |
const Scalar & | coeffRef (Index row, Index col) const |
const CoeffReturnType | coeff (Index index) const |
Scalar & | coeffRef (Index index) |
const Scalar & | coeffRef (Index index) const |
template<int LoadMode> | |
const PacketScalar | packet (Index row, Index col) const |
template<int LoadMode> | |
void | writePacket (Index row, Index col, const PacketScalar &x) |
template<int LoadMode> | |
const PacketScalar | packet (Index index) const |
template<int LoadMode> | |
void | writePacket (Index index, const PacketScalar &x) |
template<typename Dest > | |
void | evalTo (Dest &dst) const |
Protected Attributes | |
const NestedExpressionType | m_expression |
Expression of a mathematical vector or matrix as an array object.
This class is the return type of MatrixBase::array(), and most of the time this is the only way it is use.
typedef ArrayBase<ArrayWrapper> ArrayWrapper< ExpressionType >::Base |
Reimplemented from ArrayBase< ArrayWrapper< ExpressionType > >.
typedef internal::nested<ExpressionType>::type ArrayWrapper< ExpressionType >::NestedExpressionType |
ArrayWrapper< ExpressionType >::ArrayWrapper | ( | const ExpressionType & | matrix | ) | [inline] |
const CoeffReturnType ArrayWrapper< ExpressionType >::coeff | ( | Index | row, | |
Index | col | |||
) | const [inline] |
const CoeffReturnType ArrayWrapper< ExpressionType >::coeff | ( | Index | index | ) | const [inline] |
Scalar& ArrayWrapper< ExpressionType >::coeffRef | ( | Index | index | ) | [inline] |
const Scalar& ArrayWrapper< ExpressionType >::coeffRef | ( | Index | index | ) | const [inline] |
Scalar& ArrayWrapper< ExpressionType >::coeffRef | ( | Index | row, | |
Index | col | |||
) | [inline] |
const Scalar& ArrayWrapper< ExpressionType >::coeffRef | ( | Index | row, | |
Index | col | |||
) | const [inline] |
Index ArrayWrapper< ExpressionType >::cols | ( | ) | const [inline] |
void ArrayWrapper< ExpressionType >::evalTo | ( | Dest & | dst | ) | const [inline] |
Reimplemented from DenseBase< ArrayWrapper< ExpressionType > >.
Index ArrayWrapper< ExpressionType >::innerStride | ( | ) | const [inline] |
Index ArrayWrapper< ExpressionType >::outerStride | ( | ) | const [inline] |
const PacketScalar ArrayWrapper< ExpressionType >::packet | ( | Index | index | ) | const [inline] |
const PacketScalar ArrayWrapper< ExpressionType >::packet | ( | Index | row, | |
Index | col | |||
) | const [inline] |
Index ArrayWrapper< ExpressionType >::rows | ( | ) | const [inline] |
void ArrayWrapper< ExpressionType >::writePacket | ( | Index | index, | |
const PacketScalar & | x | |||
) | [inline] |
void ArrayWrapper< ExpressionType >::writePacket | ( | Index | row, | |
Index | col, | |||
const PacketScalar & | x | |||
) | [inline] |
const NestedExpressionType ArrayWrapper< ExpressionType >::m_expression [protected] |