Code adapted from Numerical Recipes in C. This is a large change, because the original also did the binary chop to find the interpolation point. Thus we pass in points rather than vectors. Calculates the interpolated value, given the pillar points, the second derivatives (from nr_spline) and the x value to interpolate.
(
lo: (T, f64), hi: (T, f64), y2_lo: f64, y2_hi: f64, x: T)
source not stored for this graph (policy: none)
no test coverage detected