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

lti::minimizeBasis< T > Class Template Reference
[Linear Algebra]

minimizeBasis functor. More...

#include <ltiMinimizeBasis.h>

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

List of all members.

Classes

class  parameters
 minimizeBasis parameter class More...

Public Member Functions

 minimizeBasis ()
 minimizeBasis (const parameters &theParams)
virtual ~minimizeBasis ()
const parametersgetParameters () const
void apply (const matrix< T > &testVectors, matrix< T > &newBasis, matrix< T > &factors)
virtual functorclone () const
virtual const char * getTypeName () const

Detailed Description

template<class T>
class lti::minimizeBasis< T >

minimizeBasis functor.

This functor generates a minimum number of basis vectors to approximate a given set of vectors within a given deviation.

There is a Fast and an Exact method of computing the minimized basis. Normally the Exact method should be used, because it does not only compute the exact solution and the smallest basis, but may even be faster than the "Fast" method. The "Fast" method is not exact and may return a basis which is larger than necessary.


Constructor & Destructor Documentation

template<class T >
lti::minimizeBasis< T >::minimizeBasis (  )  [inline]

default constructor

template<class T >
lti::minimizeBasis< T >::minimizeBasis ( const parameters theParams  ) 

constructor, sets the parameters

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

destructor


Member Function Documentation

template<class T >
void lti::minimizeBasis< T >::apply ( const matrix< T > &  testVectors,
matrix< T > &  newBasis,
matrix< T > &  factors 
)

onCopy version of apply.

testVectors' rows should contain the vectors to be approximated. newBasis' columns will contain the new basis vectors. factors' rows will contain the factors to mulitply the new basis vectors by to approximate the testVectors.

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

returns a pointer to a clone of the functor.

Implements lti::functor.

template<class T >
const parameters& lti::minimizeBasis< T >::getParameters (  )  const

returns the current parameters.

Reimplemented from lti::functor.

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

returns the name of this type

Reimplemented from lti::linearAlgebraFunctor.


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