22#include "EvtGenBase/EvtPatches.hh"
24#include "EvtGenModels/EvtItgPtrFunction.hh"
37 _myFunction(theFunction),
52 return _myFunction(x, _coeffs1);
58 if (vect == 1) _coeffs1[which] =
value;
64 if (vect == 1)
return _coeffs1[which];
virtual double value(double x) const
virtual void setCoeff(int, int, double)
virtual ~EvtItgPtrFunction()
virtual double getCoeff(int, int)
virtual double myFunction(double x) const
EvtItgPtrFunction(double(*theFunction)(double, const std::vector< double > &), double lowerRange, double upperRange, const std::vector< double > &coeffs1)