pub trait LeftNearest {
// Required method
fn left_nearest(&self, point: &[f64]) -> Result<f64, InterpolationError>;
}Expand description
Left-nearest (previous value) interpolation: https://en.wikipedia.org/wiki/Nearest-neighbor_interpolation