template<typename MatrixType, typename MemberOp, int Direction>
Eigen::PartialReduxExpr class

Generic expression of a partially reduxed matrix.

Template parameters
MatrixType the type of the matrix we are applying the redux operation
MemberOp type of the member functor
Direction indicates the direction of the redux (Vertical or Horizontal)

This class represents an expression of a partial redux operator of a matrix. It is the return type of some VectorwiseOp functions, and most of the time this is the only way it is used.

Public types

using Base = internal::dense_xpr_base<PartialReduxExpr>::type

Constructors, destructors, conversion operators

PartialReduxExpr(const MatrixType& mat, const MemberOp& func = MemberOp()) explicit

Public functions

auto cols() const -> Index
auto functor() const -> const MemberOp&
auto nestedExpression() const -> MatrixType::Nested
auto rows() const -> Index

Protected variables

const MemberOp m_functor
MatrixType::Nested m_matrix

Typedef documentation

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

Function documentation

template<typename MatrixType, typename MemberOp, int Direction>
Eigen::PartialReduxExpr<MatrixType, MemberOp, Direction>::PartialReduxExpr(const MatrixType& mat, const MemberOp& func = MemberOp()) explicit

template<typename MatrixType, typename MemberOp, int Direction>
Index Eigen::PartialReduxExpr<MatrixType, MemberOp, Direction>::cols() const

template<typename MatrixType, typename MemberOp, int Direction>
const MemberOp& Eigen::PartialReduxExpr<MatrixType, MemberOp, Direction>::functor() const

template<typename MatrixType, typename MemberOp, int Direction>
MatrixType::Nested Eigen::PartialReduxExpr<MatrixType, MemberOp, Direction>::nestedExpression() const

template<typename MatrixType, typename MemberOp, int Direction>
Index Eigen::PartialReduxExpr<MatrixType, MemberOp, Direction>::rows() const

Variable documentation

template<typename MatrixType, typename MemberOp, int Direction>
const MemberOp Eigen::PartialReduxExpr<MatrixType, MemberOp, Direction>::m_functor protected

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