Public Types | Public Member Functions | Protected Types | Protected Attributes | List of all members
Eigen::Reverse< MatrixType, Direction > Class Template Reference

Expression of the reverse of a vector or matrix. More...

#include <Reverse.h>

Inheritance diagram for Eigen::Reverse< MatrixType, Direction >:
Inheritance graph
[legend]

Public Types

typedef internal::dense_xpr_base< Reverse >::type Base
 
typedef internal::remove_all< MatrixType >::type NestedExpression
 

Public Member Functions

EIGEN_DEVICE_FUNC Index cols () const
 
EIGEN_DEVICE_FUNC Index innerStride () const
 
EIGEN_DEVICE_FUNC const internal::remove_all< typename MatrixType::Nested >::typenestedExpression () const
 
EIGEN_DEVICE_FUNC Reverse (const MatrixType &matrix)
 
EIGEN_DEVICE_FUNC Index rows () 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, ReversePacketreverse_packet
 

Protected Attributes

MatrixType::Nested m_matrix
 

Detailed Description

template<typename MatrixType, int Direction>
class Eigen::Reverse< MatrixType, Direction >

Expression of the reverse of a vector or matrix.

Template Parameters
MatrixTypethe type of the object of which we are taking the reverse
Directiondefines 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.

See also
MatrixBase::reverse(), VectorwiseOp::reverse()

Definition at line 63 of file Reverse.h.

Member Typedef Documentation

template<typename MatrixType, int Direction>
typedef internal::dense_xpr_base<Reverse>::type Eigen::Reverse< MatrixType, Direction >::Base

Definition at line 68 of file Reverse.h.

template<typename MatrixType, int Direction>
typedef internal::remove_all<MatrixType>::type Eigen::Reverse< MatrixType, Direction >::NestedExpression

Definition at line 70 of file Reverse.h.

template<typename MatrixType, int Direction>
typedef internal::reverse_packet_cond<PacketScalar,ReversePacket> Eigen::Reverse< MatrixType, Direction >::reverse_packet
protected

Definition at line 85 of file Reverse.h.

Member Enumeration Documentation

template<typename MatrixType, int Direction>
anonymous enum
protected
Enumerator
PacketSize 
IsColMajor 
ReverseRow 
ReverseCol 
OffsetRow 
OffsetCol 
ReversePacket 

Definition at line 74 of file Reverse.h.

Constructor & Destructor Documentation

template<typename MatrixType, int Direction>
EIGEN_DEVICE_FUNC Eigen::Reverse< MatrixType, Direction >::Reverse ( const MatrixType matrix)
inlineexplicit

Definition at line 88 of file Reverse.h.

Member Function Documentation

template<typename MatrixType, int Direction>
EIGEN_DEVICE_FUNC Index Eigen::Reverse< MatrixType, Direction >::cols ( void  ) const
inline

Definition at line 93 of file Reverse.h.

template<typename MatrixType, int Direction>
EIGEN_DEVICE_FUNC Index Eigen::Reverse< MatrixType, Direction >::innerStride ( ) const
inline

Definition at line 95 of file Reverse.h.

template<typename MatrixType, int Direction>
EIGEN_DEVICE_FUNC const internal::remove_all<typename MatrixType::Nested>::type& Eigen::Reverse< MatrixType, Direction >::nestedExpression ( ) const
inline

Definition at line 101 of file Reverse.h.

template<typename MatrixType, int Direction>
EIGEN_DEVICE_FUNC Index Eigen::Reverse< MatrixType, Direction >::rows ( void  ) const
inline

Definition at line 92 of file Reverse.h.

Member Data Documentation

template<typename MatrixType, int Direction>
MatrixType::Nested Eigen::Reverse< MatrixType, Direction >::m_matrix
protected

Definition at line 107 of file Reverse.h.


The documentation for this class was generated from the following file:


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:54:15