Main MRPT website > C++ reference
MRPT logo
Public Types | Public Member Functions | Protected Attributes

PartialReduxExpr< MatrixType, MemberOp, Direction > Class Template Reference


Detailed Description

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

Generic expression of a partially reduxed matrix.

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 80 of file VectorwiseOp.h.

#include <src/Core/VectorwiseOp.h>

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

Definition at line 88 of file VectorwiseOp.h.

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

Definition at line 85 of file VectorwiseOp.h.

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

Definition at line 87 of file VectorwiseOp.h.


Constructor & Destructor Documentation

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

Definition at line 90 of file VectorwiseOp.h.


Member Function Documentation

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

Definition at line 96 of file VectorwiseOp.h.

References Vertical.

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

Definition at line 104 of file VectorwiseOp.h.

References Vertical.

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

Definition at line 94 of file VectorwiseOp.h.

References Horizontal.

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

Definition at line 93 of file VectorwiseOp.h.

References Vertical.


Member Data Documentation

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

Definition at line 114 of file VectorwiseOp.h.

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

Definition at line 113 of file VectorwiseOp.h.




Page generated by Doxygen 1.7.3 for MRPT 0.9.4 SVN: at Sat Mar 26 06:16:28 UTC 2011