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 (ExpressionType &matrix) | |
| CoeffReturnType | coeff (Index rowId, Index colId) const |
| CoeffReturnType | coeff (Index index) const |
| Scalar & | coeffRef (Index rowId, Index colId) |
| const Scalar & | coeffRef (Index rowId, Index colId) 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 |
| const internal::remove_all < NestedExpressionType >::type & | nestedExpression () const |
| Index | outerStride () const |
| template<int LoadMode> | |
| const PacketScalar | packet (Index rowId, Index colId) const |
| template<int LoadMode> | |
| const PacketScalar | packet (Index index) const |
| void | resize (Index newSize) |
| void | resize (Index nbRows, Index nbCols) |
| Index | rows () const |
| template<int LoadMode> | |
| void | writePacket (Index rowId, Index colId, const PacketScalar &val) |
| template<int LoadMode> | |
| void | writePacket (Index index, const PacketScalar &val) |
Protected Attributes | |
| 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 41 of file ArrayWrapper.h.
| typedef ArrayBase<ArrayWrapper> Eigen::ArrayWrapper< ExpressionType >::Base |
Reimplemented from Eigen::ArrayBase< ArrayWrapper< ExpressionType > >.
Definition at line 44 of file ArrayWrapper.h.
| typedef internal::nested<ExpressionType>::type Eigen::ArrayWrapper< ExpressionType >::NestedExpressionType |
Definition at line 54 of file ArrayWrapper.h.
| typedef internal::conditional< internal::is_lvalue<ExpressionType>::value, Scalar, const Scalar >::type Eigen::ArrayWrapper< ExpressionType >::ScalarWithConstIfNotLvalue |
Definition at line 52 of file ArrayWrapper.h.
| Eigen::ArrayWrapper< ExpressionType >::ArrayWrapper | ( | ExpressionType & | matrix | ) | [inline] |
Definition at line 56 of file ArrayWrapper.h.
| CoeffReturnType Eigen::ArrayWrapper< ExpressionType >::coeff | ( | Index | rowId, |
| Index | colId | ||
| ) | const [inline] |
Definition at line 66 of file ArrayWrapper.h.
| CoeffReturnType Eigen::ArrayWrapper< ExpressionType >::coeff | ( | Index | index | ) | const [inline] |
Definition at line 81 of file ArrayWrapper.h.
| Scalar& Eigen::ArrayWrapper< ExpressionType >::coeffRef | ( | Index | rowId, |
| Index | colId | ||
| ) | [inline] |
Definition at line 71 of file ArrayWrapper.h.
| const Scalar& Eigen::ArrayWrapper< ExpressionType >::coeffRef | ( | Index | rowId, |
| Index | colId | ||
| ) | const [inline] |
Definition at line 76 of file ArrayWrapper.h.
| Scalar& Eigen::ArrayWrapper< ExpressionType >::coeffRef | ( | Index | index | ) | [inline] |
Definition at line 86 of file ArrayWrapper.h.
| const Scalar& Eigen::ArrayWrapper< ExpressionType >::coeffRef | ( | Index | index | ) | const [inline] |
Definition at line 91 of file ArrayWrapper.h.
| Index Eigen::ArrayWrapper< ExpressionType >::cols | ( | ) | const [inline] |
Definition at line 59 of file ArrayWrapper.h.
| ScalarWithConstIfNotLvalue* Eigen::ArrayWrapper< ExpressionType >::data | ( | ) | [inline] |
Definition at line 63 of file ArrayWrapper.h.
| const Scalar* Eigen::ArrayWrapper< ExpressionType >::data | ( | ) | const [inline] |
Definition at line 64 of file ArrayWrapper.h.
| void Eigen::ArrayWrapper< ExpressionType >::evalTo | ( | Dest & | dst | ) | const [inline] |
Reimplemented from Eigen::DenseBase< ArrayWrapper< ExpressionType > >.
Definition at line 121 of file ArrayWrapper.h.
| Index Eigen::ArrayWrapper< ExpressionType >::innerStride | ( | ) | const [inline] |
Definition at line 61 of file ArrayWrapper.h.
| const internal::remove_all<NestedExpressionType>::type& Eigen::ArrayWrapper< ExpressionType >::nestedExpression | ( | ) | const [inline] |
Definition at line 124 of file ArrayWrapper.h.
| Index Eigen::ArrayWrapper< ExpressionType >::outerStride | ( | ) | const [inline] |
Definition at line 60 of file ArrayWrapper.h.
| const PacketScalar Eigen::ArrayWrapper< ExpressionType >::packet | ( | Index | rowId, |
| Index | colId | ||
| ) | const [inline] |
Definition at line 97 of file ArrayWrapper.h.
| const PacketScalar Eigen::ArrayWrapper< ExpressionType >::packet | ( | Index | index | ) | const [inline] |
Definition at line 109 of file ArrayWrapper.h.
| void Eigen::ArrayWrapper< ExpressionType >::resize | ( | Index | newSize | ) | [inline] |
Forwards the resizing request to the nested expression
Reimplemented from Eigen::DenseBase< ArrayWrapper< ExpressionType > >.
Definition at line 131 of file ArrayWrapper.h.
| void Eigen::ArrayWrapper< ExpressionType >::resize | ( | Index | nbRows, |
| Index | nbCols | ||
| ) | [inline] |
Forwards the resizing request to the nested expression
Reimplemented from Eigen::DenseBase< ArrayWrapper< ExpressionType > >.
Definition at line 134 of file ArrayWrapper.h.
| Index Eigen::ArrayWrapper< ExpressionType >::rows | ( | ) | const [inline] |
Definition at line 58 of file ArrayWrapper.h.
| void Eigen::ArrayWrapper< ExpressionType >::writePacket | ( | Index | rowId, |
| Index | colId, | ||
| const PacketScalar & | val | ||
| ) | [inline] |
Definition at line 103 of file ArrayWrapper.h.
| void Eigen::ArrayWrapper< ExpressionType >::writePacket | ( | Index | index, |
| const PacketScalar & | val | ||
| ) | [inline] |
Definition at line 115 of file ArrayWrapper.h.
NestedExpressionType Eigen::ArrayWrapper< ExpressionType >::m_expression [protected] |
Definition at line 137 of file ArrayWrapper.h.