Module ndarray_stats::interpolate
source · Expand description
Interpolation strategies.
Structs
Select the higher value.
Linearly interpolate between the two values
(
lower + (higher - lower) * fraction
, where fraction
is the
fractional part of the index surrounded by lower
and higher
).Select the lower value.
Select the midpoint of the two values (
(lower + higher) / 2
).Select the nearest value.
Traits
Used to provide an interpolation strategy to
quantile_axis_mut
.