Expression of the reverse of a vector or matrix.
| MatrixType | the type of the object of which we are taking the reverse |
This class represents an expression of the reverse of a vector. It is the return type of MatrixBase::reverse() and VectorwiseOp::reverse() and most of the time this is the only way it is used.
Definition at line 83 of file Reverse.h.
#include <src/Core/Reverse.h>

Public Types | |
| typedef internal::dense_xpr_base < Reverse >::type | Base |
Public Member Functions | |
| Reverse (const MatrixType &matrix) | |
| Index | rows () const |
| Index | cols () const |
| Index | innerStride () const |
| Scalar & | operator() (Index row, Index col) |
| Scalar & | coeffRef (Index row, Index col) |
| CoeffReturnType | coeff (Index row, Index col) const |
| CoeffReturnType | coeff (Index index) const |
| Scalar & | coeffRef (Index index) |
| Scalar & | operator() (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 Types | |
| enum | { PacketSize = internal::packet_traits<Scalar>::size, IsColMajor = !IsRowMajor, ReverseRow = (Direction == Vertical) || (Direction == BothDirections), ReverseCol = (Direction == Horizontal) || (Direction == BothDirections), OffsetRow = ReverseRow && IsColMajor ? PacketSize : 1, OffsetCol = ReverseCol && IsRowMajor ? PacketSize : 1, ReversePacket } |
| typedef internal::reverse_packet_cond < PacketScalar, ReversePacket > | reverse_packet |
Protected Attributes | |
| const MatrixType::Nested | m_matrix |
| typedef internal::dense_xpr_base<Reverse>::type Reverse< MatrixType, Direction >::Base |
typedef internal::reverse_packet_cond<PacketScalar,ReversePacket> Reverse< MatrixType, Direction >::reverse_packet [protected] |
anonymous enum [protected] |
| CoeffReturnType Reverse< MatrixType, Direction >::coeff | ( | Index | row, |
| Index | col | ||
| ) | const [inline] |
| CoeffReturnType Reverse< MatrixType, Direction >::coeff | ( | Index | index ) | const [inline] |
| Scalar& Reverse< MatrixType, Direction >::coeffRef | ( | Index | index ) | [inline] |
| Scalar& Reverse< MatrixType, Direction >::coeffRef | ( | Index | row, |
| Index | col | ||
| ) | [inline] |
| Index Reverse< MatrixType, Direction >::cols | ( | void | ) | const [inline] |
| Index Reverse< MatrixType, Direction >::innerStride | ( | ) | const [inline] |
| Scalar& Reverse< MatrixType, Direction >::operator() | ( | Index | index ) | [inline] |
Definition at line 151 of file Reverse.h.
References eigen_assert.
| Scalar& Reverse< MatrixType, Direction >::operator() | ( | Index | row, |
| Index | col | ||
| ) | [inline] |
Definition at line 123 of file Reverse.h.
References eigen_assert.
| const PacketScalar Reverse< MatrixType, Direction >::packet | ( | Index | row, |
| Index | col | ||
| ) | const [inline] |
| const PacketScalar Reverse< MatrixType, Direction >::packet | ( | Index | index ) | const [inline] |
Definition at line 175 of file Reverse.h.
References internal::preverse().
| Index Reverse< MatrixType, Direction >::rows | ( | void | ) | const [inline] |
| void Reverse< MatrixType, Direction >::writePacket | ( | Index | row, |
| Index | col, | ||
| const PacketScalar & | x | ||
| ) | [inline] |
| void Reverse< MatrixType, Direction >::writePacket | ( | Index | index, |
| const PacketScalar & | x | ||
| ) | [inline] |
Definition at line 181 of file Reverse.h.
References internal::preverse().
| Page generated by Doxygen 1.7.2 for MRPT 0.9.4 SVN: at Mon Jan 10 22:30:30 UTC 2011 |