10#ifndef ROOT_Minuit2_FCNAdapter
11#define ROOT_Minuit2_FCNAdapter
34template <
class Function>
40 double operator()(std::vector<double>
const&
v)
const override {
return fFunc.operator()(&
v[0]); }
42 double Up()
const override {
return fUp; }
Double_t(* Function)(Double_t)
template wrapped class for adapting to FCNBase signature
FCNAdapter(const Function &f, double up=1.)
double operator()(std::vector< double > const &v) const override
The meaning of the vector of parameters is of course defined by the user, who uses the values of thos...
void SetErrorDef(double up) override
add interface to set dynamically a new error definition Re-implement this function if needed.
double Up() const override
Error definition of the function.
double operator()(const double *v) const
Interface (abstract class) defining the function to be minimized, which has to be implemented by the ...
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...