10 #ifndef _InterpolatingPolynomial_h_
11 #define _InterpolatingPolynomial_h_
21 class InterpolatingPolynomial:
public AbsFunction {
31 InterpolatingPolynomial(const InterpolatingPolynomial &right);
34 virtual ~InterpolatingPolynomial();
37 virtual
double operator ()(
double argument) const;
44 void getRange(
double & min,
double & max)
const;
51 std::vector<std::pair<double,double> > xPoints;
void addPoint(double x, double y)
#define FUNCTION_OBJECT_DEF(classname)
void getRange(double &min, double &max) const
InterpolatingPolynomial()
virtual double operator()(double argument) const