Skip to main content

makima

Function makima 

Source
pub fn makima<'a>(
    x: VR1D<'a>,
    y: VR1D<'a>,
) -> Result<PiecewiseHermite<'a>, ErrorsJSL>
Expand description

The modified Akima interpolant (makima, Cosmin Ionita 2019; SciPy’s Akima1DInterpolator(method="makima")): the weights |m₄ − m₃| + |m₄ + m₃|/2 and |m₂ − m₁| + |m₂ + m₁|/2 also count the secants’ size, so flat stretches and repeated secants no longer produce overshoot.