[−][src]Function splines::interpolate::cubic_hermite_def
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,
Default implementation of Interpolate::cubic_hermite
.
V
is the value being interpolated. T
is the sampling value (also sometimes called time).