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