latest version v1.9 - last update 10 Apr 2010 |
squareRoot functor class apply sets each element of the T-object to it's square root. More...
#include <ltiSqRoot.h>
Public Member Functions | |
squareRoot () | |
virtual | ~squareRoot () |
virtual vector< T > & | apply (vector< T > &theObject) const |
virtual vector< T > & | apply (const vector< T > &theObject, vector< T > &newObject) const |
virtual matrix< T > & | apply (matrix< T > &theObject) const |
virtual matrix< T > & | apply (const matrix< T > &theObject, matrix< T > &newObject) const |
virtual functor * | clone () const |
virtual const char * | getTypeName () const |
squareRoot functor class apply sets each element of the T-object to it's square root.
lti::squareRoot< T >::squareRoot | ( | ) | [inline] |
default constructor
Referenced by lti::squareRoot< T >::clone().
virtual lti::squareRoot< T >::~squareRoot | ( | ) | [inline, virtual] |
destructor
virtual matrix<T>& lti::squareRoot< T >::apply | ( | const matrix< T > & | theObject, | |
matrix< T > & | newObject | |||
) | const [virtual] |
onCopy version of apply.
applies the functor's function to the copy of 'theObject', 'newObject'.
Implements lti::iteratingFunctor< T >.
virtual matrix<T>& lti::squareRoot< T >::apply | ( | matrix< T > & | theObject | ) | const [virtual] |
onPlace version of apply.
applies the functor's function to 'theObject'.
Implements lti::iteratingFunctor< T >.
virtual vector<T>& lti::squareRoot< T >::apply | ( | const vector< T > & | theObject, | |
vector< T > & | newObject | |||
) | const [virtual] |
onCopy version of apply.
applies the functor's function to the copy of 'theObject', 'newObject'.
Implements lti::iteratingFunctor< T >.
virtual vector<T>& lti::squareRoot< T >::apply | ( | vector< T > & | theObject | ) | const [virtual] |
onPlace version of apply.
applies the functor's function to 'theObject'.
Implements lti::iteratingFunctor< T >.
virtual functor* lti::squareRoot< T >::clone | ( | ) | const [inline, virtual] |
returns a pointer to a clone of the functor.
Implements lti::functor.
References lti::squareRoot< T >::squareRoot().
virtual const char* lti::squareRoot< T >::getTypeName | ( | void | ) | const [inline, virtual] |
returns the name of this type
Reimplemented from lti::iteratingFunctor< T >.