latest version v1.9 - last update 10 Apr 2010 |
the parameters for the class meansFunctor More...
#include <ltiMeansFunctor.h>
Public Member Functions | |
parameters () | |
parameters (const parameters &other) | |
~parameters () | |
const char * | getTypeName () const |
parameters & | copy (const parameters &other) |
virtual functor::parameters * | clone () const |
Public Attributes | |
bool | rowWise |
bool | geometric |
the parameters for the class meansFunctor
lti::meansFunctor< T >::parameters::parameters | ( | void | ) | [inline] |
default constructor
Reimplemented from lti::statisticsFunctor::parameters.
References lti::meansFunctor< T >::parameters::geometric, and lti::meansFunctor< T >::parameters::rowWise.
Referenced by lti::meansFunctor< T >::parameters::clone().
lti::meansFunctor< T >::parameters::parameters | ( | const parameters & | other | ) | [inline] |
copy constructor
other | the parameters object to be copied |
Reimplemented from lti::statisticsFunctor::parameters.
References lti::meansFunctor< T >::parameters::copy().
lti::meansFunctor< T >::parameters::~parameters | ( | ) | [inline, virtual] |
destructor
Reimplemented from lti::statisticsFunctor::parameters.
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().
parameters& lti::meansFunctor< T >::parameters::copy | ( | const parameters & | other | ) | [inline] |
copy the contents of a parameters object
other | the parameters object to be copied |
Reimplemented from lti::statisticsFunctor::parameters.
References lti::statisticsFunctor::parameters::copy(), lti::meansFunctor< T >::parameters::geometric, and lti::meansFunctor< T >::parameters::rowWise.
Referenced by lti::meansFunctor< T >::parameters::parameters().
const char* lti::meansFunctor< T >::parameters::getTypeName | ( | void | ) | const [inline, virtual] |
returns name of this type
Reimplemented from lti::statisticsFunctor::parameters.
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().
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().