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.
Definition at line 137 of file ArrayWrapper.h.
#include <src/Core/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) |
| 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 |
| typedef MatrixBase<MatrixWrapper<ExpressionType> > MatrixWrapper< ExpressionType >::Base |
Reimplemented from DenseBase< MatrixWrapper< ExpressionType > >.
Definition at line 140 of file ArrayWrapper.h.
| typedef internal::nested<ExpressionType>::type MatrixWrapper< ExpressionType >::NestedExpressionType |
Definition at line 144 of file ArrayWrapper.h.
| MatrixWrapper< ExpressionType >::MatrixWrapper | ( | const ExpressionType & | matrix ) | [inline] |
Definition at line 146 of file ArrayWrapper.h.
| const CoeffReturnType MatrixWrapper< ExpressionType >::coeff | ( | Index | row, |
| Index | col | ||
| ) | const [inline] |
Definition at line 153 of file ArrayWrapper.h.
References MatrixWrapper< ExpressionType >::m_expression.
| const CoeffReturnType MatrixWrapper< ExpressionType >::coeff | ( | Index | index ) | const [inline] |
Definition at line 168 of file ArrayWrapper.h.
References MatrixWrapper< ExpressionType >::m_expression.
| Scalar& MatrixWrapper< ExpressionType >::coeffRef | ( | Index | index ) | [inline] |
Definition at line 173 of file ArrayWrapper.h.
References MatrixWrapper< ExpressionType >::m_expression.
| Scalar& MatrixWrapper< ExpressionType >::coeffRef | ( | Index | row, |
| Index | col | ||
| ) | [inline] |
Definition at line 158 of file ArrayWrapper.h.
References MatrixWrapper< ExpressionType >::m_expression.
| const Scalar& MatrixWrapper< ExpressionType >::coeffRef | ( | Index | row, |
| Index | col | ||
| ) | const [inline] |
Definition at line 163 of file ArrayWrapper.h.
References MatrixWrapper< ExpressionType >::m_expression.
| Index MatrixWrapper< ExpressionType >::cols | ( | ) | const [inline] |
Definition at line 149 of file ArrayWrapper.h.
References MatrixWrapper< ExpressionType >::m_expression.
| Index MatrixWrapper< ExpressionType >::innerStride | ( | ) | const [inline] |
Definition at line 151 of file ArrayWrapper.h.
References MatrixWrapper< ExpressionType >::m_expression.
| Index MatrixWrapper< ExpressionType >::outerStride | ( | ) | const [inline] |
Definition at line 150 of file ArrayWrapper.h.
References MatrixWrapper< ExpressionType >::m_expression.
| const PacketScalar MatrixWrapper< ExpressionType >::packet | ( | Index | index ) | const [inline] |
Definition at line 191 of file ArrayWrapper.h.
References MatrixWrapper< ExpressionType >::m_expression.
| const PacketScalar MatrixWrapper< ExpressionType >::packet | ( | Index | row, |
| Index | col | ||
| ) | const [inline] |
Definition at line 179 of file ArrayWrapper.h.
References DenseBase< MatrixWrapper< ExpressionType > >::col(), MatrixWrapper< ExpressionType >::m_expression, and DenseBase< MatrixWrapper< ExpressionType > >::row().
| Index MatrixWrapper< ExpressionType >::rows | ( | ) | const [inline] |
Definition at line 148 of file ArrayWrapper.h.
References MatrixWrapper< ExpressionType >::m_expression.
| void MatrixWrapper< ExpressionType >::writePacket | ( | Index | index, |
| const PacketScalar & | x | ||
| ) | [inline] |
Definition at line 197 of file ArrayWrapper.h.
References MatrixWrapper< ExpressionType >::m_expression.
| void MatrixWrapper< ExpressionType >::writePacket | ( | Index | row, |
| Index | col, | ||
| const PacketScalar & | x | ||
| ) | [inline] |
Definition at line 185 of file ArrayWrapper.h.
References DenseBase< MatrixWrapper< ExpressionType > >::col(), MatrixWrapper< ExpressionType >::m_expression, and DenseBase< MatrixWrapper< ExpressionType > >::row().
const NestedExpressionType MatrixWrapper< ExpressionType >::m_expression [protected] |
Definition at line 203 of file ArrayWrapper.h.
Referenced by MatrixWrapper< ExpressionType >::coeff(), MatrixWrapper< ExpressionType >::coeffRef(), MatrixWrapper< ExpressionType >::cols(), MatrixWrapper< ExpressionType >::innerStride(), MatrixWrapper< ExpressionType >::outerStride(), MatrixWrapper< ExpressionType >::packet(), MatrixWrapper< ExpressionType >::rows(), and MatrixWrapper< ExpressionType >::writePacket().
| Page generated by Doxygen 1.7.2 for MRPT 0.9.4 SVN: at Mon Jan 10 22:30:30 UTC 2011 |