Go to the documentation of this file.
28 #ifndef SCIMATH_FITTINGPROXY_H
29 #define SCIMATH_FITTINGPROXY_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/casa/Containers/Record.h>
40 template<
class T>
class Vector;
100 const Record& constraint);
110 const Record& constraint);
uInt nr_p
System's rank deficiency.
Double getLMfac() const
Get the Levenberg-Marquardt factor.
void setSolved(Bool solved)
Set solution done or not.
uInt nFitter_p
Number of FitType obkects present.
Class to aid in distributing different fitters.
Record functional(Int id, const Record &fnc, const Vector< Double > &xval, const Vector< Double > &yval, const Vector< Double > &wt, Int mxit, const Record &constraint)
Bool set(Int id, Int nin, Int tpin, Double colfac, Double lmfac)
Int getNceq() const
Get the number of terms in condition equation.
casacore::GenericL2Fit< Double > * fitter_p
Pointer to a Fitting Machine: real or complex.
Double getColfac() const
Get the collinearity factor.
Record linear(Int id, const Record &fnc, const Vector< Double > &xval, const Vector< Double > &yval, const Vector< Double > &wt, const Record &constraint)
Int nreal_p
Number of real unknowns.
FitType & operator=(const FitType &other)
Assignment: not implemented.
Double colfac_p
Collinearity factor.
Int getN() const
Get the number of unknowns.
GenericL2Fit< Double > *const & getFitter() const
Get a fitter pointer (real or complex)
FitType ** list_p
List of FitTypes.
Double lmfac_p
Levenberg-Marquardt factor.
Record cxlinear(Int id, const Record &fnc, const Vector< DComplex > &xval, const Vector< DComplex > &yval, const Vector< DComplex > &wt, const Record &constraint)
Bool init(Int id, Int n, Int tp, Double colfac, Double lmfac)
void setFitter(GenericL2Fit< Double > *ptr)
Set a fitter pointer (real or complex)
void setFitterCX(GenericL2Fit< DComplex > *ptr)
Generic base class for least-squares fit.
Int getNreal() const
Get the number of real unknowns.
Int nceq_p
Number of terms in condition equation.
Bool soldone_p
Solution done?
this file contains all the compiler specific defines
Record cxfunctional(Int id, const Record &fnc, const Vector< DComplex > &xval, const Vector< DComplex > &yval, const Vector< DComplex > &wt, Int mxit, const Record &constraint)
casacore::GenericL2Fit< DComplex > * fitterCX_p
FitType()
Default constructor: no method known.
void setStatus(Int n, Int typ, Double colfac, Double lmfac)
Set the status.
Int getType() const
Get the type.
This class gives Proxy to Fitting connection.
bool Bool
Define the standard types used by Casacore.
GenericL2Fit< DComplex > *const & getFitterCX() const
A hierarchical collection of named fields of various types.
A 1-D Specialization of the Array class.
Int n_p
Number of unknowns.
Bool getSolved() const
Solution done?