latest version v1.9 - last update 10 Apr 2010 |
the parameters for the class More...
#include <ltiSVD.h>
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 | read (ioHandler &handler, const bool complete=true) |
virtual bool | write (ioHandler &handler, const bool complete=true) const |
Public Attributes | |
bool | sort |
bool | transposeU |
bool | transposeV |
the parameters for the class
lti::singularValueDecomp< T >::parameters::parameters | ( | void | ) | [inline] |
default constructor
Reimplemented from lti::linearAlgebraFunctor::parameters.
Reimplemented in lti::fastSVD< T >::parameters.
References lti::singularValueDecomp< T >::parameters::transposeU, and lti::singularValueDecomp< T >::parameters::transposeV.
Referenced by lti::singularValueDecomp< T >::parameters::clone().
lti::singularValueDecomp< T >::parameters::parameters | ( | const parameters & | other | ) | [inline] |
copy constructor
other | the parameters object to be copied |
Reimplemented from lti::linearAlgebraFunctor::parameters.
Reimplemented in lti::fastSVD< T >::parameters.
References lti::singularValueDecomp< T >::parameters::copy().
lti::singularValueDecomp< T >::parameters::~parameters | ( | ) | [inline, virtual] |
destructor
Reimplemented from lti::linearAlgebraFunctor::parameters.
virtual functor::parameters* lti::singularValueDecomp< T >::parameters::clone | ( | ) | const [inline, virtual] |
returns a pointer to a clone of the parameters
Reimplemented from lti::linearAlgebraFunctor::parameters.
Reimplemented in lti::fastSVD< T >::parameters.
References lti::singularValueDecomp< T >::parameters::parameters().
parameters& lti::singularValueDecomp< 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.
Reimplemented in lti::fastSVD< T >::parameters.
References lti::functor::parameters::copy(), lti::singularValueDecomp< T >::parameters::transposeU, and lti::singularValueDecomp< T >::parameters::transposeV.
Referenced by lti::singularValueDecomp< T >::parameters::operator=(), and lti::singularValueDecomp< T >::parameters::parameters().
const char* lti::singularValueDecomp< T >::parameters::getTypeName | ( | void | ) | const [inline, virtual] |
returns name of this type
Reimplemented from lti::linearAlgebraFunctor::parameters.
Reimplemented in lti::fastSVD< T >::parameters.
parameters& lti::singularValueDecomp< T >::parameters::operator= | ( | const parameters & | other | ) | [inline] |
Assigns the contents of the other object to this object.
References lti::singularValueDecomp< T >::parameters::copy().
virtual bool lti::singularValueDecomp< 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 read, otherwise only the data block will be read. |
Reimplemented from lti::linearAlgebraFunctor::parameters.
Reimplemented in lti::fastSVD< T >::parameters.
References lti::ioHandler::readBegin(), lti::ioHandler::readEnd(), lti::singularValueDecomp< T >::parameters::transposeU, and lti::singularValueDecomp< T >::parameters::transposeV.
virtual bool lti::singularValueDecomp< 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.
Reimplemented in lti::fastSVD< T >::parameters.
References lti::singularValueDecomp< T >::parameters::transposeU, lti::singularValueDecomp< T >::parameters::transposeV, lti::ioHandler::writeBegin(), and lti::ioHandler::writeEnd().
bool lti::singularValueDecomp< T >::parameters::sort |
If true, singular values and corresponding singular vectors are rearranged so that singular values have descending order.
Default is false.
bool lti::singularValueDecomp< T >::parameters::transposeU |
Specifies whether U (false) or Ut (true) is returned.
It is faster to return Ut. Default is false, ie U.
Referenced by lti::singularValueDecomp< T >::parameters::copy(), lti::singularValueDecomp< T >::parameters::parameters(), lti::singularValueDecomp< T >::parameters::read(), and lti::singularValueDecomp< T >::parameters::write().
bool lti::singularValueDecomp< T >::parameters::transposeV |
Specifies whether V (false) or Vt (true) is returned.
It is faster to return V. Default is false, ie V.
Referenced by lti::singularValueDecomp< T >::parameters::copy(), lti::singularValueDecomp< T >::parameters::parameters(), lti::singularValueDecomp< T >::parameters::read(), and lti::singularValueDecomp< T >::parameters::write().