PartialReduxExpr< MatrixType, MemberOp, Direction > Class Template Reference

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

#include <PartialRedux.h>

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

List of all members.

Public Types

typedef ei_traits
< PartialReduxExpr >
::_MatrixTypeNested 
_MatrixTypeNested
typedef ei_traits
< PartialReduxExpr >
::MatrixTypeNested 
MatrixTypeNested

Public Member Functions

const Scalar coeff (int i, int j) const
int cols () const
 PartialReduxExpr (const MatrixType &mat, const MemberOp &func=MemberOp())
int 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.

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 PartialRedux functions, and most of the time this is the only way it is used.

See also:
class PartialRedux

Definition at line 75 of file PartialRedux.h.


Member Typedef Documentation

template<typename MatrixType , typename MemberOp , int Direction>
typedef ei_traits<PartialReduxExpr>::_MatrixTypeNested PartialReduxExpr< MatrixType, MemberOp, Direction >::_MatrixTypeNested

Definition at line 82 of file PartialRedux.h.

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

Definition at line 81 of file PartialRedux.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 84 of file PartialRedux.h.


Member Function Documentation

template<typename MatrixType , typename MemberOp , int Direction>
const Scalar PartialReduxExpr< MatrixType, MemberOp, Direction >::coeff ( int  i,
int  j 
) const [inline]
template<typename MatrixType , typename MemberOp , int Direction>
int PartialReduxExpr< MatrixType, MemberOp, Direction >::cols (  )  const [inline]
Returns:
the number of columns.
See also:
rows(), ColsAtCompileTime

Reimplemented from MatrixBase< PartialReduxExpr< MatrixType, MemberOp, Direction > >.

Definition at line 88 of file PartialRedux.h.

template<typename MatrixType , typename MemberOp , int Direction>
int PartialReduxExpr< MatrixType, MemberOp, Direction >::rows (  )  const [inline]
Returns:
the number of rows.
See also:
cols(), RowsAtCompileTime

Reimplemented from MatrixBase< PartialReduxExpr< MatrixType, MemberOp, Direction > >.

Definition at line 87 of file PartialRedux.h.


Member Data Documentation

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

Definition at line 100 of file PartialRedux.h.

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

Definition at line 99 of file PartialRedux.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:22:18 2013