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 >:
internal::no_assignment_operator

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

Detailed Description

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

Generic expression of a partially reduxed matrix.

Parameters:
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.

See also:
class VectorwiseOp

Member Typedef Documentation

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

Constructor & Destructor Documentation

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

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]
template<typename MatrixType , typename MemberOp , int Direction>
const Scalar PartialReduxExpr< MatrixType, MemberOp, Direction >::coeff ( Index  index  )  const [inline]
template<typename MatrixType , typename MemberOp , int Direction>
Index PartialReduxExpr< MatrixType, MemberOp, Direction >::cols ( void   )  const [inline]
template<typename MatrixType , typename MemberOp , int Direction>
Index PartialReduxExpr< MatrixType, MemberOp, Direction >::rows ( void   )  const [inline]

Member Data Documentation

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

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