Trait ndarray_stats::interpolate::Interpolate [−][src]
Used to provide an interpolation strategy to quantile_axis_mut
.
Required methods
fn __private__(&self, _: PrivateMarker)
[src]
This method makes this trait impossible to implement outside of
ndarray-stats
so that we can freely add new methods, etc., to
this trait without breaking changes.
We don’t anticipate any other crates needing to implement this trait, but if you do have such a use-case, please let us know.
Warning This method is not considered part of the public API, and client code should not rely on it being present. It may be removed in a non-breaking release.
Implementors
impl<T> Interpolate<T> for Higher
[src]
fn needs_lower(_q: N64, _len: usize) -> bool
[src]
fn needs_higher(_q: N64, _len: usize) -> bool
[src]
fn interpolate(_lower: Option<T>, higher: Option<T>, _q: N64, _len: usize) -> T
[src]
fn __private__(&self, _: PrivateMarker)
[src]
impl<T> Interpolate<T> for Linear where
T: NumOps + Clone + FromPrimitive + ToPrimitive,
[src]
T: NumOps + Clone + FromPrimitive + ToPrimitive,
fn needs_lower(_q: N64, _len: usize) -> bool
[src]
fn needs_higher(_q: N64, _len: usize) -> bool
[src]
fn interpolate(lower: Option<T>, higher: Option<T>, q: N64, len: usize) -> T
[src]
fn __private__(&self, _: PrivateMarker)
[src]
impl<T> Interpolate<T> for Lower
[src]
fn needs_lower(_q: N64, _len: usize) -> bool
[src]
fn needs_higher(_q: N64, _len: usize) -> bool
[src]
fn interpolate(lower: Option<T>, _higher: Option<T>, _q: N64, _len: usize) -> T
[src]
fn __private__(&self, _: PrivateMarker)
[src]
impl<T> Interpolate<T> for Midpoint where
T: NumOps + Clone + FromPrimitive,
[src]
T: NumOps + Clone + FromPrimitive,