Module ndarray_stats::interpolate
source · Expand description
Interpolation strategies.
Structs§
- Select the higher value.
- Linearly interpolate between the two values (
lower + (higher - lower) * fraction
, wherefraction
is the fractional part of the index surrounded bylower
andhigher
). - 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
.