29 #ifndef SCIMATH_NONLINEARFITLM_H
30 #define SCIMATH_NONLINEARFITLM_H
143 #ifndef CASACORE_NO_AUTO_TEMPLATES
144 #include <casacore/scimath/Fitting/NonLinearFitLM.tcc>
145 #endif //# CASACORE_NO_AUTO_TEMPLATES
A 1-D Specialization of the Array class.
NonLinearFitLM(Bool svd=False)
Create a fitter: the normal way to generate a fitter object.
LatticeExprNode mask(const LatticeExprNode &expr)
This function returns the mask of the given expression.
T BaseType
Template base type.
NonLinearFitLM & operator=(const NonLinearFitLM &other)
Assignment (deep copy)
Class for non-linear least-squares fit.
bool Bool
Define the standard types used by Casacore.
Solve non-linear fit with Levenberg-Marquardt method.
A templated N-D Array class with zero origin. Array<T, Alloc> is a templated, N-dimensional, Array class. The origin is zero, but by default indices are zero-based. This Array class is the base class for the Vector, Matrix, and Cube subclasses.
Double lamda_p
The parameter that makes this the Levenberg-Marquardt method.
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.
Double fitit_p
The current fit state.
virtual ~NonLinearFitLM()
Destructor.