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

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

#include <VectorwiseOp.h>

Inherits no_assignment_operator, and type< PartialReduxExpr< MatrixType, MemberOp, Direction > >.

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

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

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

Member Typedef Documentation

typedef internal::dense_xpr_base<PartialReduxExpr>::type Base

Constructor & Destructor Documentation

PartialReduxExpr ( const MatrixType &  mat,
const MemberOp &  func = MemberOp() 
)
inline

Member Function Documentation

const Scalar coeff ( Index  i,
Index  j 
) const
inline

References Eigen::Vertical.

const Scalar coeff ( Index  index) const
inline

References Eigen::Vertical.

Index cols ( void  ) const
inline

References Eigen::Horizontal.

Index rows ( void  ) const
inline

References Eigen::Vertical.

Member Data Documentation

const MemberOp m_functor
protected
MatrixTypeNested m_matrix
protected

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