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 |
| typedef internal::conditional < internal::is_lvalue < ExpressionType >::value, Scalar, const Scalar >::type | ScalarWithConstIfNotLvalue |
Public Member Functions | |
| ArrayWrapper (const ExpressionType &matrix) | |
| const CoeffReturnType | coeff (Index row, Index col) const |
| const CoeffReturnType | coeff (Index index) const |
| Scalar & | coeffRef (Index row, Index col) |
| const Scalar & | coeffRef (Index row, Index col) const |
| Scalar & | coeffRef (Index index) |
| const Scalar & | coeffRef (Index index) const |
| Index | cols () const |
| ScalarWithConstIfNotLvalue * | data () |
| const Scalar * | data () const |
| template<typename Dest > | |
| void | evalTo (Dest &dst) const |
| Index | innerStride () const |
| Index | outerStride () const |
| template<int LoadMode> | |
| const PacketScalar | packet (Index row, Index col) const |
| template<int LoadMode> | |
| const PacketScalar | packet (Index index) const |
| Index | rows () const |
| template<int LoadMode> | |
| void | writePacket (Index row, Index col, const PacketScalar &x) |
| template<int LoadMode> | |
| void | writePacket (Index index, const PacketScalar &x) |
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.
Definition at line 49 of file ArrayWrapper.h.
| typedef ArrayBase<ArrayWrapper> ArrayWrapper< ExpressionType >::Base |
Reimplemented from ArrayBase< ArrayWrapper< ExpressionType > >.
Definition at line 52 of file ArrayWrapper.h.
| typedef internal::nested<ExpressionType>::type ArrayWrapper< ExpressionType >::NestedExpressionType |
Definition at line 62 of file ArrayWrapper.h.
| typedef internal::conditional< internal::is_lvalue<ExpressionType>::value, Scalar, const Scalar >::type ArrayWrapper< ExpressionType >::ScalarWithConstIfNotLvalue |
Definition at line 60 of file ArrayWrapper.h.
| ArrayWrapper< ExpressionType >::ArrayWrapper | ( | const ExpressionType & | matrix | ) | [inline] |
Definition at line 64 of file ArrayWrapper.h.
| const CoeffReturnType ArrayWrapper< ExpressionType >::coeff | ( | Index | row, |
| Index | col | ||
| ) | const [inline] |
Definition at line 74 of file ArrayWrapper.h.
| const CoeffReturnType ArrayWrapper< ExpressionType >::coeff | ( | Index | index | ) | const [inline] |
Definition at line 89 of file ArrayWrapper.h.
| Scalar& ArrayWrapper< ExpressionType >::coeffRef | ( | Index | row, |
| Index | col | ||
| ) | [inline] |
Definition at line 79 of file ArrayWrapper.h.
| const Scalar& ArrayWrapper< ExpressionType >::coeffRef | ( | Index | row, |
| Index | col | ||
| ) | const [inline] |
Definition at line 84 of file ArrayWrapper.h.
| Scalar& ArrayWrapper< ExpressionType >::coeffRef | ( | Index | index | ) | [inline] |
Definition at line 94 of file ArrayWrapper.h.
| const Scalar& ArrayWrapper< ExpressionType >::coeffRef | ( | Index | index | ) | const [inline] |
Definition at line 99 of file ArrayWrapper.h.
| Index ArrayWrapper< ExpressionType >::cols | ( | ) | const [inline] |
Definition at line 67 of file ArrayWrapper.h.
| ScalarWithConstIfNotLvalue* ArrayWrapper< ExpressionType >::data | ( | ) | [inline] |
Definition at line 71 of file ArrayWrapper.h.
| const Scalar* ArrayWrapper< ExpressionType >::data | ( | ) | const [inline] |
Definition at line 72 of file ArrayWrapper.h.
| void ArrayWrapper< ExpressionType >::evalTo | ( | Dest & | dst | ) | const [inline] |
Reimplemented from DenseBase< ArrayWrapper< ExpressionType > >.
Definition at line 129 of file ArrayWrapper.h.
| Index ArrayWrapper< ExpressionType >::innerStride | ( | ) | const [inline] |
Definition at line 69 of file ArrayWrapper.h.
| Index ArrayWrapper< ExpressionType >::outerStride | ( | ) | const [inline] |
Definition at line 68 of file ArrayWrapper.h.
| const PacketScalar ArrayWrapper< ExpressionType >::packet | ( | Index | row, |
| Index | col | ||
| ) | const [inline] |
Definition at line 105 of file ArrayWrapper.h.
| const PacketScalar ArrayWrapper< ExpressionType >::packet | ( | Index | index | ) | const [inline] |
Definition at line 117 of file ArrayWrapper.h.
| Index ArrayWrapper< ExpressionType >::rows | ( | ) | const [inline] |
Definition at line 66 of file ArrayWrapper.h.
| void ArrayWrapper< ExpressionType >::writePacket | ( | Index | row, |
| Index | col, | ||
| const PacketScalar & | x | ||
| ) | [inline] |
Definition at line 111 of file ArrayWrapper.h.
| void ArrayWrapper< ExpressionType >::writePacket | ( | Index | index, |
| const PacketScalar & | x | ||
| ) | [inline] |
Definition at line 123 of file ArrayWrapper.h.
const NestedExpressionType ArrayWrapper< ExpressionType >::m_expression [protected] |
Definition at line 132 of file ArrayWrapper.h.