26#ifndef SCIMATH_NONLINEARFITLM_H
27#define SCIMATH_NONLINEARFITLM_H
30#include <casacore/casa/aips.h>
31#include <casacore/scimath/Fitting/NonLinearFit.h>
140#ifndef CASACORE_NO_AUTO_TEMPLATES
141#include <casacore/scimath/Fitting/NonLinearFitLM.tcc>
T BaseType
Template base type.
Bool solved_p
Have solution.
void fillSVDConstraints()
Get the SVD constraints.
uInt nr_p
The rank of the solution.
Vector< typename FunctionTraits< T >::BaseType > condEq_p
Condition equation parameters (for number of adjustable parameters)
Vector< typename FunctionTraits< T >::BaseType > err_p
Local error area.
void buildConstraint()
Build the constraint equations.
uInt pCount_p
Number of available parameters.
Vector< typename FunctionTraits< T >::BaseType > sol_p
Local solution area.
Bool errors_p
Have errors.
Function< typename FunctionTraits< T >::DiffType, typename FunctionTraits< T >::DiffType > * ptr_derive_p
Function to use in evaluating condition equation.
FunctionTraits< T >::DiffType valder_p
Local value and derivatives.
void setMaskedParameterValues(const Vector< typename FunctionTraits< T >::BaseType > &parms)
LSQFit::ReadyCode isReady() const
Ask the state of the non-linear solutions.
Double fitit_p
The current fit state.
NonLinearFitLM & operator=(const NonLinearFitLM &other)
Assignment (deep copy)
Double lamda_p
The parameter that makes this the Levenberg-Marquardt method.
NonLinearFitLM(Bool svd=False)
Create a fitter: the normal way to generate a fitter object.
virtual Bool fitIt(Vector< typename FunctionTraits< T >::BaseType > &sol, const Array< typename FunctionTraits< T >::BaseType > &x, const Vector< typename FunctionTraits< T >::BaseType > &y, const Vector< typename FunctionTraits< T >::BaseType > *const sigma, const Vector< Bool > *const mask=0)
Generalised fitter.
virtual ~NonLinearFitLM()
Destructor.
NonLinearFitLM(const NonLinearFitLM &other)
Copy constructor (deep copy)
uInt curiter_p
Current iteration number.
uInt maxiter_p
Maximum number of iterations.
Bool converge_p
Has fit converged.
this file contains all the compiler specific defines
LatticeExprNode mask(const LatticeExprNode &expr)
This function returns the mask of the given expression.
bool Bool
Define the standard types used by Casacore.