MOAB
4.9.3pre
|
Expression of the reverse of a vector or matrix. More...
#include <Reverse.h>
Public Types | |
typedef internal::dense_xpr_base < Reverse >::type | Base |
typedef internal::remove_all < MatrixType >::type | NestedExpression |
Public Member Functions | |
EIGEN_DEVICE_FUNC | Reverse (const MatrixType &matrix) |
EIGEN_DEVICE_FUNC Index | rows () const |
EIGEN_DEVICE_FUNC Index | cols () const |
EIGEN_DEVICE_FUNC Index | innerStride () const |
EIGEN_DEVICE_FUNC const internal::remove_all< typename MatrixType::Nested >::type & | nestedExpression () const |
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 |
Direction | defines the direction of the reverse operation, can be Vertical, Horizontal, or BothDirections |
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::remove_all<MatrixType>::type Eigen::Reverse< MatrixType, Direction >::NestedExpression |
typedef internal::reverse_packet_cond<PacketScalar,ReversePacket> Eigen::Reverse< MatrixType, Direction >::reverse_packet [protected] |
anonymous enum [protected] |
Definition at line 74 of file Reverse.h.
{ 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 = (Direction == BothDirections) || ((Direction == Vertical) && IsColMajor) || ((Direction == Horizontal) && IsRowMajor) };
EIGEN_DEVICE_FUNC Eigen::Reverse< MatrixType, Direction >::Reverse | ( | const MatrixType & | matrix | ) | [inline, explicit] |
EIGEN_DEVICE_FUNC Index Eigen::Reverse< MatrixType, Direction >::cols | ( | void | ) | const [inline] |
EIGEN_DEVICE_FUNC Index Eigen::Reverse< MatrixType, Direction >::innerStride | ( | ) | const [inline] |
EIGEN_DEVICE_FUNC const internal::remove_all<typename MatrixType::Nested>::type& Eigen::Reverse< MatrixType, Direction >::nestedExpression | ( | ) | const [inline] |
EIGEN_DEVICE_FUNC Index Eigen::Reverse< MatrixType, Direction >::rows | ( | void | ) | const [inline] |
MatrixType::Nested Eigen::Reverse< MatrixType, Direction >::m_matrix [protected] |