Skip to main content

interpolate_sorted

Function interpolate_sorted 

Source
pub fn interpolate_sorted(points: &[(f64, f64)], x: f64) -> Option<f64>
Expand description

Interpolates x over points sorted ascending by their first coordinate.