/home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/common/interpolation.hh Source File#
|
DiFfRG
|
interpolation.hh
Go to the documentation of this file.
This class takes in x-dependent data and interpolates it to a given x on request.
Definition interpolation.hh:23
Barycentric(const std::vector< double > &x, const std::vector< double > &y, uint order=1)
Construct a new Interpolator object.
std::unique_ptr< boost::math::interpolators::barycentric_rational< double > > interpolator
Definition interpolation.hh:83
double derivative(double x) const
Interpolate the derivative of the data to a given x.
bool check_consistency(double tolerance) const
Check whether the interpolator is consistent with the original data. The interpolator checks if it ca...
double value(double x) const
Interpolate the data to a given x.
Barycentric(std::vector< double > &x, std::vector< double > &y, uint order=1, bool copy=true)
Construct a new Interpolator object.
double operator()(double x) const
Interpolate the data to a given x.
This class takes in x-dependent data and interpolates it to a given x on request. This class uses the...
Definition interpolation.hh:91
~CubicSpline()
double derivative(double x) const
double value(double x) const
double operator()(double x) const
CubicSpline(const std::vector< double > &x, const std::vector< double > &y)
Definition complex_math.hh:10
Generated by