splines::interpolate

Function cubic_hermite_def

Source
pub fn cubic_hermite_def<V, T>(
    x: (V, T),
    a: (V, T),
    b: (V, T),
    y: (V, T),
    t: T,
) -> V
where V: Linear<T>, T: Additive + Mul<T, Output = T> + One,
Expand description

Default implementation of Interpolate::cubic_hermite.

V is the value being interpolated. T is the sampling value (also sometimes called time).