26#ifndef SCIMATH_FITTINGPROXY_H 
   27#define SCIMATH_FITTINGPROXY_H 
   31#include <casacore/casa/aips.h> 
   32#include <casacore/casa/Arrays/ArrayFwd.h> 
   33#include <casacore/casa/Containers/Record.h> 
   38  template<
class T> 
class GenericL2Fit;
 
  108          const Record& constraint);
 
 
Class to aid in distributing different fitters.
 
FitType & operator=(const FitType &other)
Assignment: not implemented.
 
void setSolved(Bool solved)
Set solution done or not.
 
Double lmfac_p
Levenberg-Marquardt factor.
 
Double colfac_p
Collinearity factor.
 
casacore::GenericL2Fit< Double > * fitter_p
Pointer to a Fitting Machine: real or complex.
 
Int nreal_p
Number of real unknowns.
 
Int nceq_p
Number of terms in condition equation.
 
GenericL2Fit< DComplex > *const & getFitterCX() const
 
uInt nr_p
System's rank deficiency.
 
GenericL2Fit< Double > *const & getFitter() const
Get a fitter pointer (real or complex)
 
Int getN() const
Get the number of unknowns.
 
Bool soldone_p
Solution done?
 
Int getType() const
Get the type.
 
Int n_p
Number of unknowns.
 
casacore::GenericL2Fit< DComplex > * fitterCX_p
 
FitType()
Default constructor: no method known.
 
void setStatus(Int n, Int typ, Double colfac, Double lmfac)
Set the status.
 
FitType(const FitType &other)
Copy constructor: not implemented.
 
Double getLMfac() const
Get the Levenberg-Marquardt factor.
 
Bool getSolved() const
Solution done?
 
Int getNreal() const
Get the number of real unknowns.
 
Double getColfac() const
Get the collinearity factor.
 
void setFitter(GenericL2Fit< Double > *ptr)
Set a fitter pointer (real or complex)
 
Int getNceq() const
Get the number of terms in condition equation.
 
void setFitterCX(GenericL2Fit< DComplex > *ptr)
 
Bool set(Int id, Int nin, Int tpin, Double colfac, Double lmfac)
 
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 linear(Int id, const Record &fnc, const Vector< Double > &xval, const Vector< Double > &yval, const Vector< Double > &wt, const Record &constraint)
 
FitType ** list_p
List of FitTypes.
 
uInt nFitter_p
Number of FitType obkects present.
 
Record cxlinear(Int id, const Record &fnc, const Vector< DComplex > &xval, const Vector< DComplex > &yval, const Vector< DComplex > &wt, const Record &constraint)
 
Record cxfunctional(Int id, const Record &fnc, const Vector< DComplex > &xval, const Vector< DComplex > &yval, const Vector< DComplex > &wt, Int mxit, const Record &constraint)
 
Bool init(Int id, Int n, Int tp, Double colfac, Double lmfac)
 
this file contains all the compiler specific defines
 
bool Bool
Define the standard types used by Casacore.