12 leftExtrapolationLinear_(
false),
13 rightExtrapolationLinear_(
false),
15 monotonicityKnown_(
true) {}
29 const double sg =
delta > 0.0 ? 1.0 : -1.0;
42 return std::unique_ptr<LinInterpolatedTable1D>(
nullptr);
44 std::vector<std::pair<double, double> > points;
48 points.push_back(std::pair<double, double>(
data_[0],
xmin_));
56 points.push_back(std::pair<double, double>(
data_[0],
xmin_));
std::vector< double > data_
bool operator==(const LinInterpolatedTable1D &r) const
bool rightExtrapolationLinear() const
bool leftExtrapolationLinear() const
bool rightExtrapolationLinear_
bool isMonotonous() const
std::unique_ptr< LinInterpolatedTable1D > inverse(unsigned npoints, bool leftExtrapolationLinear, bool rightExtrapolationLinear) const
double operator()(const double &x) const override
LinInterpolatedTable1D(const RealN *data, unsigned npoints, double x_min, double x_max, bool leftExtrapolationLinear, bool rightExtrapolationLinear)
bool leftExtrapolationLinear_