casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
casa::LinearFitSVD< T > Class Template Reference

Linear least-squares fit using Singular Value Decomposition method. More...

#include <LinearFitSVD.h>

Inheritance diagram for casa::LinearFitSVD< T >:
casa::LinearFit< T > casa::GenericL2Fit< T > casa::LSQaips casa::LSQFit

List of all members.

Public Member Functions

 LinearFitSVD ()
 Create a fitter: the normal way to generate a fitter object.
 LinearFitSVD (const LinearFitSVD &other)
 Copy constructor (deep copy)
LinearFitSVDoperator= (const LinearFitSVD &other)
 Assignment (deep copy)
virtual ~LinearFitSVD ()
 Destructor.

Detailed Description

template<class T>
class casa::LinearFitSVD< T >

Linear least-squares fit using Singular Value Decomposition method.

Review Status

Reviewed By:
wbrouw
Date Reviewed:
2004/06/15
Test programs:
tLinearFitSVD

Prerequisite

Etymology

Solves the linear least-squares fit problem using the singular value decomposition method.

Synopsis

The operation, calls and results are identical to those for the LinearFit class. The only difference is a collinearity default of 1e-8 rather than 0. The actual calculations do a singular value decomposition solution. A method exists to get the constraints used in solving for missing rank.

Motivation

The creation of this class was driven by the need to provide users with a reliable least-squares fit method. "Numerical Recipes" recommends that singular value decomposition (SVD) method be always used for linear least-squares problems, because of its robustness. Not everybody agrees with this.

Definition at line 72 of file LinearFitSVD.h.


Constructor & Destructor Documentation

template<class T>
casa::LinearFitSVD< T >::LinearFitSVD ( )

Create a fitter: the normal way to generate a fitter object.

Necessary data will be deduced from the Functional provided with setFunction()

template<class T>
casa::LinearFitSVD< T >::LinearFitSVD ( const LinearFitSVD< T > &  other)

Copy constructor (deep copy)

template<class T>
virtual casa::LinearFitSVD< T >::~LinearFitSVD ( ) [virtual]

Destructor.


Member Function Documentation

template<class T>
LinearFitSVD& casa::LinearFitSVD< T >::operator= ( const LinearFitSVD< T > &  other)

Assignment (deep copy)


The documentation for this class was generated from the following file: