49 std::vector<double> values_at_supp_pnts,
50 bool supp_pnts_sorted =
false);
60 double getValue(
double pnt_to_interpolate)
const;
std::vector< double > supp_pnts_
std::vector< double > values_at_supp_pnts_
double getSupportMin() const
PiecewiseLinearInterpolation(std::vector< double > supporting_points, std::vector< double > values_at_supp_pnts, bool supp_pnts_sorted=false)
double getDerivative(double const pnt_to_interpolate) const
Calculates derivative using quadratic interpolation and central difference quotient.
double getSupportMax() const
double getValue(double pnt_to_interpolate) const
Calculates the interpolation value.