Expand description
Interpolation strategies.
Structs§
- Higher
- Select the higher value.
- Linear
- Linearly interpolate between the two values
(
lower + (higher - lower) * fraction
, wherefraction
is the fractional part of the index surrounded bylower
andhigher
). - Lower
- Select the lower value.
- Midpoint
- Select the midpoint of the two values (
(lower + higher) / 2
). - Nearest
- Select the nearest value.
Traits§
- Interpolate
- Used to provide an interpolation strategy to
quantile_axis_mut
.