Internal class used by GSLNLSMinimizer to implement the transformation of the chi2 function used by GSL Non-linear Least-square fitting The class is template on the FitMethodFunction type to support both gradient and non gradient functions.
Definition at line 40 of file GSLNLSMinimizer.cxx.
Public Member Functions | |
FitTransformFunction (const FMFunc &f, std::unique_ptr< MinimTransformFunction > transFunc) | |
virtual | ~FitTransformFunction () |
virtual IMultiGenFunction * | Clone () const |
virtual double | DataElement (const double *x, unsigned i, double *g=nullptr, double *=nullptr, bool=false) const |
void | GradientTransformation (const double *x, const double *gext, double *gint) const |
transform gradient vector (external -> internal) at internal point x | |
void | InvStepTransformation (const double *x, const double *sext, double *sint) const |
inverse transformation for steps (external -> internal) at external point x | |
void | InvTransformation (const double *xext, double *xint) const |
inverse transformation (external -> internal) | |
void | MatrixTransformation (const double *x, const double *cint, double *cext) const |
virtual unsigned int | NDim () const |
unsigned int | NTot () const |
const double * | Transformation (const double *x) const |
Private Member Functions | |
FitTransformFunction (const FitTransformFunction &rhs)=delete | |
virtual double | DoDerivative (const double *, unsigned int) const |
virtual double | DoEval (const double *x) const |
FitTransformFunction & | operator= (const FitTransformFunction &rhs)=delete |
Private Attributes | |
const FMFunc & | fFunc |
std::vector< double > | fGrad |
bool | fOwnTransformation |
std::unique_ptr< MinimTransformFunction > | fTransform |
|
inline |
Definition at line 44 of file GSLNLSMinimizer.cxx.
|
inlinevirtual |
Definition at line 54 of file GSLNLSMinimizer.cxx.
|
privatedelete |
|
inlinevirtual |
Definition at line 70 of file GSLNLSMinimizer.cxx.
|
inlinevirtual |
Definition at line 58 of file GSLNLSMinimizer.cxx.
|
inlineprivatevirtual |
Definition at line 109 of file GSLNLSMinimizer.cxx.
|
inlineprivatevirtual |
Definition at line 105 of file GSLNLSMinimizer.cxx.
|
inline |
transform gradient vector (external -> internal) at internal point x
Definition at line 95 of file GSLNLSMinimizer.cxx.
|
inline |
inverse transformation for steps (external -> internal) at external point x
Definition at line 92 of file GSLNLSMinimizer.cxx.
|
inline |
inverse transformation (external -> internal)
Definition at line 89 of file GSLNLSMinimizer.cxx.
|
inline |
Definition at line 97 of file GSLNLSMinimizer.cxx.
|
inlinevirtual |
Definition at line 76 of file GSLNLSMinimizer.cxx.
|
inline |
Definition at line 80 of file GSLNLSMinimizer.cxx.
|
privatedelete |
|
inline |
Definition at line 85 of file GSLNLSMinimizer.cxx.
|
private |
Definition at line 116 of file GSLNLSMinimizer.cxx.
|
mutableprivate |
Definition at line 118 of file GSLNLSMinimizer.cxx.
|
private |
Definition at line 115 of file GSLNLSMinimizer.cxx.
|
private |
Definition at line 117 of file GSLNLSMinimizer.cxx.