LagrangeInterpolator.hpp
36 LagrangeInterpolator(const std::vector<double>& xp, const std::vector<double>& yp, unsigned order = 1);
A class used to calculate interpolation of data in one dimension in any order.
Definition: LagrangeInterpolator.hpp:27
LagrangeInterpolator(const std::vector< double > &xp, const std::vector< double > &yp, unsigned order=1)
Construct a LagrangeInterpolator instance.
auto operator()(double x) const -> double
Return the interpolation of at a given coordinate .
LagrangeInterpolator()
Construct a default LagrangeInterpolator instance.
The namespace containing all components of the Reaktoro library.
Definition: Algorithms.hpp:29