Public Types | Public Member Functions | Protected Attributes
PartialReduxExpr< MatrixType, MemberOp, Direction > Class Template Reference

Generic expression of a partially reduxed matrix. More...

#include <VectorwiseOp.h>

Inheritance diagram for PartialReduxExpr< MatrixType, MemberOp, Direction >:
Inheritance graph
[legend]

List of all members.

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

EIGEN_STRONG_INLINE 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
const MatrixTypeNested m_matrix

Detailed Description

template<typename MatrixType, typename MemberOp, int Direction>
class 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 80 of file VectorwiseOp.h.


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.

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.

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

Definition at line 94 of file VectorwiseOp.h.

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

Definition at line 93 of file VectorwiseOp.h.


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.


The documentation for this class was generated from the following file:


re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:34:15