Trait RightNearest

Source
pub trait RightNearest {
    // Required method
    fn right_nearest(&self, point: &[f64]) -> Result<f64, InterpolationError>;
}
Expand description

Right-nearest (next value) interpolation: https://en.wikipedia.org/wiki/Nearest-neighbor_interpolation

Required Methods§

Implementors§