last update 20 Sep 2009 |
#include <cvrLinearLeastSquares.h>
Public Member Functions | |
parameters () | |
parameters (const parameters &other) | |
~parameters () | |
parameters & | copy (const parameters &other) |
parameters & | operator= (const parameters &other) |
virtual const std::string & | name () const |
virtual parameters * | clone () const |
virtual parameters * | newInstance () const |
virtual bool | write (ioHandler &handler, const bool complete=true) const |
virtual bool | read (ioHandler &handler, const bool complete=true) |
Public Attributes | |
eAlgorithm | algorithm |
double | rCondition |
cvr::linearLeastSquares::linearLeastSquares::parameters::parameters | ( | ) |
Default constructor.
Reimplemented from cvr::linearAlgebraFunctor::linearAlgebraFunctor::parameters.
cvr::linearLeastSquares::linearLeastSquares::parameters::parameters | ( | const parameters & | other | ) |
Copy constructor.
other | the parameters object to be copied |
Reimplemented from cvr::linearAlgebraFunctor::linearAlgebraFunctor::parameters.
cvr::linearLeastSquares::linearLeastSquares::parameters::~parameters | ( | ) | [virtual] |
virtual parameters* cvr::linearLeastSquares::linearLeastSquares::parameters::clone | ( | ) | const [virtual] |
Returns a pointer to a clone of the parameters.
Reimplemented from cvr::linearAlgebraFunctor::linearAlgebraFunctor::parameters.
parameters& cvr::linearLeastSquares::linearLeastSquares::parameters::copy | ( | const parameters & | other | ) |
Copy the contents of a parameters object.
other | the parameters object to be copied |
Reimplemented from cvr::linearAlgebraFunctor::linearAlgebraFunctor::parameters.
virtual const std::string& cvr::linearLeastSquares::linearLeastSquares::parameters::name | ( | ) | const [virtual] |
Returns the complete name of the parameters class.
Reimplemented from cvr::linearAlgebraFunctor::linearAlgebraFunctor::parameters.
virtual parameters* cvr::linearLeastSquares::linearLeastSquares::parameters::newInstance | ( | ) | const [virtual] |
Returns a pointer to a new instance of the parameters.
Reimplemented from cvr::linearAlgebraFunctor::linearAlgebraFunctor::parameters.
parameters& cvr::linearLeastSquares::linearLeastSquares::parameters::operator= | ( | const parameters & | other | ) |
Copy the contents of a parameters object.
other | the parameters object to be copied |
Reimplemented from cvr::linearAlgebraFunctor::linearAlgebraFunctor::parameters.
virtual bool cvr::linearLeastSquares::linearLeastSquares::parameters::read | ( | ioHandler & | handler, | |
const bool | complete = true | |||
) | [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 cvr::linearAlgebraFunctor::linearAlgebraFunctor::parameters.
virtual bool cvr::linearLeastSquares::linearLeastSquares::parameters::write | ( | ioHandler & | handler, | |
const bool | complete = true | |||
) | const [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 cvr::linearAlgebraFunctor::linearAlgebraFunctor::parameters.
eAlgorithm cvr::linearLeastSquares::linearLeastSquares::parameters::algorithm |
Which algorithm should be used to solve the least squares problem.
The available methods are:
Default value: SVD
double cvr::linearLeastSquares::linearLeastSquares::parameters::rCondition |
The rCondition
is used to determine the effective rank of the matrix A, which is defined as the order of the largest leading triangular submatrix R11 in the QR factorization with pivoting of A, whose estimated condition number is less than 1.0/rCondition.
For intance, all singular values less than or equal to this value multiplied by the largest singular value are set to zero.
Default value: 0.0