template<class DerivFunType, class ModelFunType, class DataType>
class ROOT::Fit::BasicFCN< DerivFunType, ModelFunType, DataType >
BasicFCN class: base class for the objective functions used in the fits It has a reference to the data and the model function used in the fit.
It cannot be instantiated but constructed from the derived classes
Definition at line 40 of file BasicFCN.h.
|
| virtual const DataType & | Data () const |
| | access to const reference to the data
|
| |
| std::shared_ptr< DataType > | DataPtr () const |
| | access to data pointer
|
| |
| virtual bool | HasHessian () const |
| | flag to indicate if can compute Hessian
|
| |
| virtual const IModelFunction & | ModelFunction () const |
| | access to const reference to the model function
|
| |
| std::shared_ptr< IModelFunction > | ModelFunctionPtr () const |
| | access to function pointer
|
| |
| | BasicFitMethodFunction (int dim, int npoint) |
| |
| | BasicFitMethodFunction (int dim, int npoint) |
| |
| | ~BasicFitMethodFunction () override |
| | Virtual Destructor (no operations)
|
| |
| | ~BasicFitMethodFunction () override |
| | Virtual Destructor (no operations)
|
| |
| virtual double | DataElement (const double *x, unsigned int i, double *g=nullptr, double *h=nullptr, bool fullHessian=false) const=0 |
| | method returning the data i-th contribution to the fit objective function For example the residual for the least square functions or the pdf element for the likelihood functions.
|
| |
| virtual double | DataElement (const double *x, unsigned int i, double *g=nullptr, double *h=nullptr, bool fullHessian=false) const=0 |
| | method returning the data i-th contribution to the fit objective function For example the residual for the least square functions or the pdf element for the likelihood functions.
|
| |
| virtual bool | G2 (const double *, double *) const |
| | Computes the Second derivatives.
|
| |
| virtual bool | G2 (const double *, double *) const |
| | Computes the Second derivatives.
|
| |
| virtual bool | Hessian (const double *x, double *hess) const |
| | Computes the full Hessian.
|
| |
| virtual bool | Hessian (const double *x, double *hess) const |
| | Computes the full Hessian.
|
| |
| bool | IsAGradFCN () |
| |
| bool | IsAGradFCN () |
| |
| virtual unsigned int | NCalls () const |
| | return the total number of function calls (override if needed)
|
| |
| virtual unsigned int | NCalls () const |
| | return the total number of function calls (override if needed)
|
| |
| unsigned int | NDim () const override |
| | Number of dimension (parameters) .
|
| |
| unsigned int | NDim () const override |
| | Number of dimension (parameters) .
|
| |
| virtual unsigned int | NPoints () const |
| | return the number of data points used in evaluating the function
|
| |
| virtual unsigned int | NPoints () const |
| | return the number of data points used in evaluating the function
|
| |
| virtual void | ResetNCalls () |
| | reset number of function calls
|
| |
| virtual void | ResetNCalls () |
| | reset number of function calls
|
| |
| virtual Type_t | Type () const |
| | return the type of method, override if needed
|
| |
| virtual Type_t | Type () const |
| | return the type of method, override if needed
|
| |
| virtual void | UpdateNCalls () const |
| | update number of calls
|
| |
| virtual void | UpdateNCalls () const |
| | update number of calls
|
| |