LTI-Lib latest version v1.9 - last update 24 Nov 2005
Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

lti::absoluteValue< T > Class Template Reference

AbsoluteValue functor class. More...

#include <ltiAbsValue.h>

Inheritance diagram for lti::absoluteValue< T >:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 absoluteValue ()
virtual ~absoluteValue ()
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 functorclone () const
virtual const char * getTypeName () const

Detailed Description

template<class T>
class lti::absoluteValue< T >

AbsoluteValue functor class.

Apply sets each element of the T-object to it's absoulte value.


Constructor & Destructor Documentation

template<class T>
lti::absoluteValue< T >::absoluteValue  )  [inline]
 

default constructor

template<class T>
virtual lti::absoluteValue< T >::~absoluteValue  )  [inline, virtual]
 

destructor


Member Function Documentation

template<class T>
virtual matrix<T>& lti::absoluteValue< 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 >.

template<class T>
virtual matrix<T>& lti::absoluteValue< T >::apply matrix< T > &  theObject  )  const [virtual]
 

onPlace version of apply.

applies the functor's function to theObject.

Implements lti::iteratingFunctor< T >.

template<class T>
virtual vector<T>& lti::absoluteValue< 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 >.

template<class T>
virtual vector<T>& lti::absoluteValue< T >::apply vector< T > &  theObject  )  const [virtual]
 

onPlace version of apply.

applies the functor's function to theObject.

Implements lti::iteratingFunctor< T >.

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

returns a pointer to a clone of the functor.

Implements lti::functor.

template<class T>
virtual const char* lti::absoluteValue< T >::getTypeName void   )  const [inline, virtual]
 

returns the name of this type.

Reimplemented from lti::iteratingFunctor< T >.


The documentation for this class was generated from the following file:
Generated on Thu Nov 24 16:54:32 2005 for LTI-Lib by Doxygen 1.4.4