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