31EvtItgTwoCoeffFcn::EvtItgTwoCoeffFcn(
double (*theFunction)(
double,
const std::vector<double> &,
const std::vector<double> &),
double lowerRange,
double upperRange,
const std::vector<double> &coeffs1,
const std::vector<double> &coeffs2):
33 _myFunction(theFunction),
43 return _myFunction(
x, _coeffs1, _coeffs2);
49 if (vect == 1) _coeffs1[which] =
value;
50 else if (vect == 2) _coeffs2[which] =
value;
56 if (vect == 1)
return _coeffs1[which];
57 else if (vect == 2)
return _coeffs2[which];
virtual double value(double x) const
virtual double getCoeff(int, int)
virtual ~EvtItgTwoCoeffFcn()
virtual double myFunction(double x) const
virtual void setCoeff(int, int, double)
EvtItgTwoCoeffFcn(double(*theFunction)(double, const std::vector< double > &, const std::vector< double > &), double lowerRange, double upperRange, const std::vector< double > &coeffs1, const std::vector< double > &coeffs2)