10#ifndef ROOT_Minuit2_FCNAdapter
11#define ROOT_Minuit2_FCNAdapter
30template<
class Function>
44 return fFunc.operator()(&
v[0]);
47 return fFunc.operator()(
v);
Double_t(* Function)(Double_t)
template wrapped class for adapting to FCNBase signature
FCNAdapter(const Function &f, double up=1.)
double Up() const
Error definition of the function.
double operator()(const std::vector< double > &v) const
The meaning of the vector of parameters is of course defined by the user, who uses the values of thos...
double operator()(const double *v) const
void SetErrorDef(double up)
add interface to set dynamically a new error definition Re-implement this function if needed.
Interface (abstract class) defining the function to be minimized, which has to be implemented by the ...