LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::meansFunctor< T >::parameters Class Reference

the parameters for the class meansFunctor More...

#include <ltiMeansFunctor.h>

Inheritance diagram for lti::meansFunctor< T >::parameters:
Inheritance graph
[legend]
Collaboration diagram for lti::meansFunctor< T >::parameters:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 parameters ()
 parameters (const parameters &other)
 ~parameters ()
const char * getTypeName () const
parameterscopy (const parameters &other)
virtual functor::parametersclone () const

Public Attributes

bool rowWise
bool geometric

Detailed Description

template<class T>
class lti::meansFunctor< T >::parameters

the parameters for the class meansFunctor


Constructor & Destructor Documentation

template<class T >
lti::meansFunctor< T >::parameters::parameters ( void   )  [inline]
template<class T >
lti::meansFunctor< T >::parameters::parameters ( const parameters other  )  [inline]

copy constructor

Parameters:
other the parameters object to be copied

Reimplemented from lti::statisticsFunctor::parameters.

References lti::meansFunctor< T >::parameters::copy().

template<class T >
lti::meansFunctor< T >::parameters::~parameters (  )  [inline, virtual]

destructor

Reimplemented from lti::statisticsFunctor::parameters.


Member Function Documentation

template<class T >
virtual functor::parameters* lti::meansFunctor< T >::parameters::clone (  )  const [inline, virtual]

returns a pointer to a clone of the parameters

Reimplemented from lti::statisticsFunctor::parameters.

References lti::meansFunctor< T >::parameters::parameters().

template<class T >
parameters& lti::meansFunctor< T >::parameters::copy ( const parameters other  )  [inline]
template<class T >
const char* lti::meansFunctor< T >::parameters::getTypeName ( void   )  const [inline, virtual]

returns name of this type

Reimplemented from lti::statisticsFunctor::parameters.


Member Data Documentation

template<class T >
bool lti::meansFunctor< T >::parameters::geometric

If this flag is true, the functor will compute the geometric mean of the elements, i.e.

pow(e1*e2*...*en,1/n)

Default value: false

Referenced by lti::meansFunctor< T >::parameters::copy(), and lti::meansFunctor< T >::parameters::parameters().

template<class T >
bool lti::meansFunctor< T >::parameters::rowWise

If this flag is true, the mean computation will be row-wise, i.e.

the result will contain a sum of the rows. This is much faster than column-wise, since data do not have to be copied.

Default value: true

Referenced by lti::meansFunctor< T >::parameters::copy(), and lti::meansFunctor< T >::parameters::parameters().


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

Generated on Sat Apr 10 15:28:32 2010 for LTI-Lib by Doxygen 1.6.1