InterpolationUtils.hpp
53 auto interpolateQuadratic(T const& x, X const& x0, X const& x1, X const& x2, Y const& y0, Y const& y1, Y const& y2)
The namespace containing all components of the Reaktoro library.
Definition: Algorithms.hpp:29
autodiff::real real
The number type used throughout the library.
Definition: Real.hpp:26
auto interpolateLinear(T const &x, X const &x0, X const &x1, Y const &y0, Y const &y1)
Calculate a linear interpolation of y at x with given pairs *(x0, y0)* and *(x1, y1)*.
Definition: InterpolationUtils.hpp:43
std::function< F > Fn
Convenient alias for std::function<R(Args...)>.
Definition: Types.hpp:110
auto interpolateQuadratic(T const &x, X const &x0, X const &x1, X const &x2, Y const &y0, Y const &y1, Y const &y2)
Calculate a quadratic interpolation of y at x with given pairs *(x0, y0)* *(x1, y1)* and *(x2,...
Definition: InterpolationUtils.hpp:53
autodiff::ArrayXreal ArrayXr
Convenient alias to Eigen type.
Definition: Matrix.hpp:87