pub fn akima<'a>(
x: VR1D<'a>,
y: VR1D<'a>,
) -> Result<PiecewiseHermite<'a>, ErrorsJSL>Expand description
Builds an Akima (1970) interpolant through (x, y); x strictly increasing, at least two
points (two give a straight line).
Slopes are weighted averages of neighbouring secants; the two secants beyond each end are
extrapolated linearly in the secant sequence, as in the original paper. The weights, the fill
value where they vanish and the cutoff for that follow SciPy’s Akima1DInterpolator.