latest version v1.9 - last update 10 Apr 2010 |
Base class for all iterating functors. More...
#include <ltiIteratingFunctor.h>
Public Member Functions | |
virtual vector< T > & | apply (vector< T > &theObject) const =0 |
virtual vector< T > & | apply (const vector< T > &theObject, vector< T > &newObject) const =0 |
virtual matrix< T > & | apply (matrix< T > &theObject) const =0 |
virtual matrix< T > & | apply (const matrix< T > &theObject, matrix< T > &newObject) const =0 |
virtual const char * | getTypeName () const |
Base class for all iterating functors.
virtual matrix<T>& lti::iteratingFunctor< T >::apply | ( | const matrix< T > & | theObject, | |
matrix< T > & | newObject | |||
) | const [pure virtual] |
onCopy version of apply.
applies the functor's function to the copy of 'theObject', 'newObject'.
Implemented in lti::absoluteValue< T >, lti::addScalar< T >, lti::logarithm< T >, lti::multiplyScalar< T >, lti::noise< T >, lti::squareRoot< T >, and lti::square< T >.
virtual matrix<T>& lti::iteratingFunctor< T >::apply | ( | matrix< T > & | theObject | ) | const [pure virtual] |
onPlace version of apply.
applies the functor's function to 'theObject'.
Implemented in lti::absoluteValue< T >, lti::addScalar< T >, lti::logarithm< T >, lti::multiplyScalar< T >, lti::noise< T >, lti::squareRoot< T >, and lti::square< T >.
virtual vector<T>& lti::iteratingFunctor< T >::apply | ( | const vector< T > & | theObject, | |
vector< T > & | newObject | |||
) | const [pure virtual] |
onCopy version of apply.
applies the functor's function to the copy of 'theObject', 'newObject'.
Implemented in lti::absoluteValue< T >, lti::addScalar< T >, lti::logarithm< T >, lti::multiplyScalar< T >, lti::noise< T >, lti::squareRoot< T >, and lti::square< T >.
virtual vector<T>& lti::iteratingFunctor< T >::apply | ( | vector< T > & | theObject | ) | const [pure virtual] |
onPlace version of apply.
applies the functor's function to 'theObject'.
Implemented in lti::absoluteValue< T >, lti::addScalar< T >, lti::logarithm< T >, lti::multiplyScalar< T >, lti::noise< T >, lti::squareRoot< T >, and lti::square< T >.
virtual const char* lti::iteratingFunctor< T >::getTypeName | ( | void | ) | const [inline, virtual] |
returns the name of this type
Reimplemented from lti::functor.
Reimplemented in lti::absoluteValue< T >, lti::addScalar< T >, lti::logarithm< T >, lti::multiplyScalar< T >, lti::noise< T >, lti::squareRoot< T >, and lti::square< T >.