Expression of the reverse of a vector or matrix. More...
#include <Reverse.h>
Public Types | |
typedef internal::dense_xpr_base < Reverse >::type | Base |
Public Member Functions | |
CoeffReturnType | coeff (Index row, Index col) const |
CoeffReturnType | coeff (Index index) const |
Scalar & | coeffRef (Index row, Index col) |
Scalar & | coeffRef (Index index) |
Index | cols () const |
Index | innerStride () const |
const internal::remove_all < typename MatrixType::Nested > ::type & | nestedExpression () const |
Scalar & | operator() (Index row, Index col) |
Scalar & | operator() (Index index) |
template<int LoadMode> | |
const PacketScalar | packet (Index row, Index col) const |
template<int LoadMode> | |
const PacketScalar | packet (Index index) const |
Reverse (const MatrixType &matrix) | |
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 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 | |
MatrixType::Nested | m_matrix |
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.
typedef internal::dense_xpr_base<Reverse>::type Eigen::Reverse< MatrixType, Direction >::Base |
typedef internal::reverse_packet_cond<PacketScalar,ReversePacket> Eigen::Reverse< MatrixType, Direction >::reverse_packet [protected] |
anonymous enum [protected] |
Eigen::Reverse< MatrixType, Direction >::Reverse | ( | const MatrixType & | matrix | ) | [inline] |
CoeffReturnType Eigen::Reverse< MatrixType, Direction >::coeff | ( | Index | row, |
Index | col | ||
) | const [inline] |
CoeffReturnType Eigen::Reverse< MatrixType, Direction >::coeff | ( | Index | index | ) | const [inline] |
Scalar& Eigen::Reverse< MatrixType, Direction >::coeffRef | ( | Index | row, |
Index | col | ||
) | [inline] |
Scalar& Eigen::Reverse< MatrixType, Direction >::coeffRef | ( | Index | index | ) | [inline] |
Index Eigen::Reverse< MatrixType, Direction >::cols | ( | void | ) | const [inline] |
Index Eigen::Reverse< MatrixType, Direction >::innerStride | ( | ) | const [inline] |
const internal::remove_all<typename MatrixType::Nested>::type& Eigen::Reverse< MatrixType, Direction >::nestedExpression | ( | ) | const [inline] |
Scalar& Eigen::Reverse< MatrixType, Direction >::operator() | ( | Index | row, |
Index | col | ||
) | [inline] |
Scalar& Eigen::Reverse< MatrixType, Direction >::operator() | ( | Index | index | ) | [inline] |
const PacketScalar Eigen::Reverse< MatrixType, Direction >::packet | ( | Index | row, |
Index | col | ||
) | const [inline] |
const PacketScalar Eigen::Reverse< MatrixType, Direction >::packet | ( | Index | index | ) | const [inline] |
Index Eigen::Reverse< MatrixType, Direction >::rows | ( | void | ) | const [inline] |
void Eigen::Reverse< MatrixType, Direction >::writePacket | ( | Index | row, |
Index | col, | ||
const PacketScalar & | x | ||
) | [inline] |
void Eigen::Reverse< MatrixType, Direction >::writePacket | ( | Index | index, |
const PacketScalar & | x | ||
) | [inline] |
MatrixType::Nested Eigen::Reverse< MatrixType, Direction >::m_matrix [protected] |