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

Expression of the reverse of a vector or matrix.

Template parameters
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.