pub fn quadratic_interpolation(x: f64, xs: &[f64], ys: &[f64]) -> f64Expand description
Performs quadratic interpolation for the point x given vectors of abscissas xs and ordinates ys.
ยงPanics
Panics if xs.len() < 3 or xs.len() != ys.len().