10 #ifndef ROOT_Minuit2_FCNAdapter 11 #define ROOT_Minuit2_FCNAdapter 13 #ifndef ROOT_Minuit2_FCNBase 32 template<
class Function>
46 return fFunc.operator()(&v[0]);
49 return fFunc.operator()(
v);
71 #endif //ROOT_Minuit2_FCNAdapter double Up() const
Error definition of the function.
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
FCNAdapter(const Function &f, double up=1.)
template wrapped class for adapting to FCNBase signature
double operator()(const double *v) const
Interface (abstract class) defining the function to be minimized, which has to be implemented by the ...
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...
void SetErrorDef(double up)
add interface to set dynamically a new error definition Re-implement this function if needed...