|
latest version v1.9 - last update 10 Apr 2010 |
|
the parameters for the class unifiedSVD More...
#include <ltiUnifiedSVD.h>


Public Types | |
| enum | eSVDType { SVD, FastSVD = 10 } |
Public Member Functions | |
| parameters () | |
| parameters (const parameters &other) | |
| ~parameters () | |
| const char * | getTypeName () const |
| parameters & | copy (const parameters &other) |
| parameters & | operator= (const parameters &other) |
| virtual functor::parameters * | clone () const |
| virtual bool | write (ioHandler &handler, const bool complete=true) const |
| virtual bool | read (ioHandler &handler, const bool complete=true) |
Public Attributes | |
| bool | sort |
| bool | transposeU |
| bool | transposeV |
| bool | useDC |
| bool | useMinDimensions |
| eSVDType | svdType |
the parameters for the class unifiedSVD
| enum lti::unifiedSVD::parameters::eSVDType |
The SVD method to use.
Note that functors starting with Fast___ are only available if LAPACK is used. The default is set according to your installation.
| SVD | |
| FastSVD |
use fastSVD |
| lti::unifiedSVD< T >::parameters::parameters | ( | void | ) | [inline] |
default constructor
Reimplemented from lti::linearAlgebraFunctor::parameters.
References lti::unifiedSVD< T >::parameters::FastSVD, lti::unifiedSVD< T >::parameters::SVD, lti::unifiedSVD< T >::parameters::svdType, lti::unifiedSVD< T >::parameters::transposeU, lti::unifiedSVD< T >::parameters::transposeV, lti::unifiedSVD< T >::parameters::useDC, and lti::unifiedSVD< T >::parameters::useMinDimensions.
Referenced by lti::unifiedSVD< T >::parameters::clone().
| lti::unifiedSVD< T >::parameters::parameters | ( | const parameters & | other | ) | [inline] |
copy constructor
| other | the parameters object to be copied |
Reimplemented from lti::linearAlgebraFunctor::parameters.
References lti::unifiedSVD< T >::parameters::copy().
| lti::unifiedSVD< T >::parameters::~parameters | ( | ) | [inline, virtual] |
destructor
Reimplemented from lti::linearAlgebraFunctor::parameters.
| virtual functor::parameters* lti::unifiedSVD< T >::parameters::clone | ( | ) | const [inline, virtual] |
returns a pointer to a clone of the parameters
Reimplemented from lti::linearAlgebraFunctor::parameters.
References lti::unifiedSVD< T >::parameters::parameters().
| parameters& lti::unifiedSVD< T >::parameters::copy | ( | const parameters & | other | ) | [inline] |
copy the contents of a parameters object
| other | the parameters object to be copied |
Reimplemented from lti::linearAlgebraFunctor::parameters.
References lti::linearAlgebraFunctor::parameters::copy(), lti::unifiedSVD< T >::parameters::svdType, lti::unifiedSVD< T >::parameters::transposeU, lti::unifiedSVD< T >::parameters::transposeV, lti::unifiedSVD< T >::parameters::useDC, and lti::unifiedSVD< T >::parameters::useMinDimensions.
Referenced by lti::unifiedSVD< T >::parameters::operator=(), and lti::unifiedSVD< T >::parameters::parameters().
| const char* lti::unifiedSVD< T >::parameters::getTypeName | ( | void | ) | const [inline, virtual] |
returns name of this type
Reimplemented from lti::linearAlgebraFunctor::parameters.
| parameters& lti::unifiedSVD< T >::parameters::operator= | ( | const parameters & | other | ) | [inline] |
copy the contents of a parameters object
| other | the parameters object to be copied |
References lti::unifiedSVD< T >::parameters::copy().
| virtual bool lti::unifiedSVD< T >::parameters::read | ( | ioHandler & | handler, | |
| const bool | complete = true | |||
| ) | [inline, virtual] |
read the parameters from the given ioHandler
| handler | the ioHandler to be used | |
| complete | if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written. |
Reimplemented from lti::linearAlgebraFunctor::parameters.
References lti::unifiedSVD< T >::parameters::FastSVD, lti::ioHandler::readBegin(), lti::ioHandler::readEnd(), lti::unifiedSVD< T >::parameters::SVD, lti::unifiedSVD< T >::parameters::svdType, lti::unifiedSVD< T >::parameters::transposeU, lti::unifiedSVD< T >::parameters::transposeV, lti::unifiedSVD< T >::parameters::useDC, and lti::unifiedSVD< T >::parameters::useMinDimensions.
| virtual bool lti::unifiedSVD< T >::parameters::write | ( | ioHandler & | handler, | |
| const bool | complete = true | |||
| ) | const [inline, virtual] |
write the parameters in the given ioHandler
| handler | the ioHandler to be used | |
| complete | if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written. |
Reimplemented from lti::linearAlgebraFunctor::parameters.
References lti::unifiedSVD< T >::parameters::FastSVD, lti::unifiedSVD< T >::parameters::SVD, lti::unifiedSVD< T >::parameters::svdType, lti::unifiedSVD< T >::parameters::transposeU, lti::unifiedSVD< T >::parameters::transposeV, lti::unifiedSVD< T >::parameters::useDC, lti::unifiedSVD< T >::parameters::useMinDimensions, lti::ioHandler::writeBegin(), and lti::ioHandler::writeEnd().
| bool lti::unifiedSVD< T >::parameters::sort |
If true the eigenvalues and eigenvectors are sorted in descending order.
Default true.
| eSVDType lti::unifiedSVD< T >::parameters::svdType |
The SVD type given is used.
Note that you cannot use fastSVD if LAPACK is not installed. The default is dependent on the the system configuration: If LAPACK is available, fastSVD is used, otherwise singularValueDecomp.
Referenced by lti::unifiedSVD< T >::parameters::copy(), lti::unifiedSVD< T >::parameters::parameters(), lti::unifiedSVD< T >::parameters::read(), and lti::unifiedSVD< T >::parameters::write().
| bool lti::unifiedSVD< T >::parameters::transposeU |
If true the transpose of matrix U is returned instead of U.
Default false.
See singularValueDecomp<T>::parameters::transposeU
Referenced by lti::unifiedSVD< T >::parameters::copy(), lti::unifiedSVD< T >::parameters::parameters(), lti::unifiedSVD< T >::parameters::read(), and lti::unifiedSVD< T >::parameters::write().
| bool lti::unifiedSVD< T >::parameters::transposeV |
If true the transpose of matrix V is returned instead of V.
Default false.
See singularValueDecomp<T>::parameters::transposeV
Referenced by lti::unifiedSVD< T >::parameters::copy(), lti::unifiedSVD< T >::parameters::parameters(), lti::unifiedSVD< T >::parameters::read(), and lti::unifiedSVD< T >::parameters::write().
| bool lti::unifiedSVD< T >::parameters::useDC |
This parameters is used only if svdType=FastSVD.
It determines whether the divide and conquer strategy is used or not. Default true.
See fastSVD<T>::parameters::useDC
Referenced by lti::unifiedSVD< T >::parameters::copy(), lti::unifiedSVD< T >::parameters::parameters(), lti::unifiedSVD< T >::parameters::read(), and lti::unifiedSVD< T >::parameters::write().
| bool lti::unifiedSVD< T >::parameters::useMinDimensions |
This parameters is used only if svdType=FastSVD.
If true only min(rows,columns) of the data matrix singular vectors are calculated.
Default value: true.
See fastSVD<T>::parameters::useMinDimensions
Referenced by lti::unifiedSVD< T >::parameters::copy(), lti::unifiedSVD< T >::parameters::parameters(), lti::unifiedSVD< T >::parameters::read(), and lti::unifiedSVD< T >::parameters::write().