Main MRPT website > C++ reference
MRPT logo
Public Types | Public Member Functions | Protected Attributes
Eigen::PartialReduxExpr Class Reference

Detailed Description

Generic expression of a partially reduxed matrix.

Template Parameters:
MatrixTypethe type of the matrix we are applying the redux operation
MemberOptype of the member functor
Directionindicates 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.

See also:
class VectorwiseOp
Inheritance diagram for Eigen::PartialReduxExpr:
Inheritance graph
[legend]

List of all members.

Public Types

typedef
internal::dense_xpr_base
< PartialReduxExpr >::type 
Base
typedef internal::traits
< PartialReduxExpr >
::MatrixTypeNested 
MatrixTypeNested
typedef internal::traits
< PartialReduxExpr >
::_MatrixTypeNested 
_MatrixTypeNested

Public Member Functions

 PartialReduxExpr (const MatrixType &mat, const MemberOp &func=MemberOp())
Index rows () const
Index cols () const
EIGEN_STRONG_INLINE const Scalar coeff (Index i, Index j) const
const Scalar coeff (Index index) const

Protected Attributes

const MatrixTypeNested m_matrix
const MemberOp m_functor

Member Typedef Documentation

Definition at line 89 of file Core.

Definition at line 86 of file Core.

Definition at line 88 of file Core.


Constructor & Destructor Documentation

Eigen::PartialReduxExpr::PartialReduxExpr ( const MatrixType &  mat,
const MemberOp &  func = MemberOp() 
) [inline]

Definition at line 91 of file Core.


Member Function Documentation

EIGEN_STRONG_INLINE const Scalar Eigen::PartialReduxExpr::coeff ( Index  i,
Index  j 
) const [inline]

Definition at line 97 of file Core.

const Scalar Eigen::PartialReduxExpr::coeff ( Index  index) const [inline]

Definition at line 105 of file Core.

Index Eigen::PartialReduxExpr::cols ( void  ) const [inline]

Definition at line 95 of file Core.

Index Eigen::PartialReduxExpr::rows ( void  ) const [inline]

Definition at line 94 of file Core.


Member Data Documentation

const MemberOp Eigen::PartialReduxExpr::m_functor [protected]

Definition at line 115 of file Core.

Definition at line 114 of file Core.




Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Thu Oct 13 21:25:36 UTC 2011