Public Types | Public Member Functions | Protected Types | Protected Attributes
Reverse< MatrixType, Direction > Class Template Reference

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

#include <Reverse.h>

Inherits type< Reverse< MatrixType, Direction > >.

List of all members.

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,
  IsColMajor,
  ReverseRow,
  ReverseCol,
  OffsetRow,
  OffsetCol,
  ReversePacket
}
typedef
internal::reverse_packet_cond
< PacketScalar, ReversePacket
reverse_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.

Parameters:
MatrixTypethe 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.

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

Member Typedef Documentation

typedef internal::dense_xpr_base<Reverse>::type Base
typedef internal::reverse_packet_cond<PacketScalar,ReversePacket> reverse_packet [protected]

Member Enumeration Documentation

anonymous enum [protected]
Enumerator:
PacketSize 
IsColMajor 
ReverseRow 
ReverseCol 
OffsetRow 
OffsetCol 
ReversePacket 

Constructor & Destructor Documentation

Reverse ( const MatrixType &  matrix) [inline]

Member Function Documentation

CoeffReturnType coeff ( Index  row,
Index  col 
) const [inline]

References col(), and row().

CoeffReturnType coeff ( Index  index) const [inline]
Scalar& coeffRef ( Index  row,
Index  col 
) [inline]

References col(), and row().

Scalar& coeffRef ( Index  index) [inline]
Index cols ( void  ) const [inline]
Index innerStride ( ) const [inline]
const internal::remove_all<typename MatrixType::Nested>::type& nestedExpression ( ) const [inline]
Scalar& operator() ( Index  row,
Index  col 
) [inline]
Scalar& operator() ( Index  index) [inline]
const PacketScalar packet ( Index  row,
Index  col 
) const [inline]

References col(), and row().

const PacketScalar packet ( Index  index) const [inline]
Index rows ( void  ) const [inline]
void writePacket ( Index  row,
Index  col,
const PacketScalar &  x 
) [inline]

References col(), and row().

void writePacket ( Index  index,
const PacketScalar &  x 
) [inline]

Member Data Documentation

MatrixType::Nested m_matrix [protected]

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