Main MRPT website > C++ reference
MRPT logo
Public Types | Public Member Functions | Protected Attributes
Eigen::PartialReduxExpr< MatrixType, MemberOp, Direction > Class Template Reference

Detailed Description

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

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

Definition at line 81 of file Core.

Inheritance diagram for Eigen::PartialReduxExpr< MatrixType, MemberOp, Direction >:
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

template<typename MatrixType , typename MemberOp , int Direction>
typedef internal::traits<PartialReduxExpr>::_MatrixTypeNested Eigen::PartialReduxExpr< MatrixType, MemberOp, Direction >::_MatrixTypeNested

Definition at line 89 of file Core.

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

Definition at line 86 of file Core.

template<typename MatrixType , typename MemberOp , int Direction>
typedef internal::traits<PartialReduxExpr>::MatrixTypeNested Eigen::PartialReduxExpr< MatrixType, MemberOp, Direction >::MatrixTypeNested

Definition at line 88 of file Core.


Constructor & Destructor Documentation

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

Definition at line 91 of file Core.


Member Function Documentation

template<typename MatrixType , typename MemberOp , int Direction>
EIGEN_STRONG_INLINE const Scalar Eigen::PartialReduxExpr< MatrixType, MemberOp, Direction >::coeff ( Index  i,
Index  j 
) const [inline]

Definition at line 97 of file Core.

template<typename MatrixType , typename MemberOp , int Direction>
const Scalar Eigen::PartialReduxExpr< MatrixType, MemberOp, Direction >::coeff ( Index  index) const [inline]

Definition at line 105 of file Core.

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

Definition at line 95 of file Core.

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

Definition at line 94 of file Core.


Member Data Documentation

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

Definition at line 115 of file Core.

template<typename MatrixType , typename MemberOp , int Direction>
const MatrixTypeNested Eigen::PartialReduxExpr< MatrixType, MemberOp, Direction >::m_matrix [protected]

Definition at line 114 of file Core.




Page generated by Doxygen 1.7.4 for MRPT 0.9.5 SVN:2717 at Sun Oct 16 16:08:03 PDT 2011 Hosted on:
SourceForge.net Logo