Skip to main content

spline_value

Function spline_value 

fn spline_value<R: Scalar>(
    scheme: Interpolation,
    taus: &[f64],
    ordinate: impl Fn(usize) -> R,
    z: &[R],
    hi: usize,
    tau: f64,
) -> R
Expand description

The spline’s value on the segment hi ends, given the solved second derivatives.