Generic expression of a partially reduxed matrix. More...
#include <VectorwiseOp.h>
Inherits no_assignment_operator, and type< PartialReduxExpr< MatrixType, MemberOp, Direction > >.
Public Types | |
typedef internal::traits < PartialReduxExpr > ::_MatrixTypeNested | _MatrixTypeNested |
typedef internal::dense_xpr_base < PartialReduxExpr >::type | Base |
typedef internal::traits < PartialReduxExpr > ::MatrixTypeNested | MatrixTypeNested |
Public Member Functions | |
const Scalar | coeff (Index i, Index j) const |
const Scalar | coeff (Index index) const |
Index | cols () const |
PartialReduxExpr (const MatrixType &mat, const MemberOp &func=MemberOp()) | |
Index | rows () const |
Protected Attributes | |
const MemberOp | m_functor |
MatrixTypeNested | m_matrix |
Generic expression of a partially reduxed matrix.
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.
typedef internal::traits<PartialReduxExpr>::_MatrixTypeNested _MatrixTypeNested |
typedef internal::dense_xpr_base<PartialReduxExpr>::type Base |
typedef internal::traits<PartialReduxExpr>::MatrixTypeNested MatrixTypeNested |
PartialReduxExpr | ( | const MatrixType & | mat, |
const MemberOp & | func = MemberOp() |
||
) | [inline] |
const Scalar coeff | ( | Index | i, |
Index | j | ||
) | const [inline] |
References Eigen::Vertical.
const Scalar coeff | ( | Index | index | ) | const [inline] |
References Eigen::Vertical.
Index cols | ( | void | ) | const [inline] |
References Eigen::Horizontal.
Index rows | ( | void | ) | const [inline] |
References Eigen::Vertical.
const MemberOp m_functor [protected] |
MatrixTypeNested m_matrix [protected] |