Module interpolate

Source
Expand description

Interpolation strategies.

Structs§

Higher
Select the higher value.
Linear
Linearly interpolate between the two values (lower + (higher - lower) * fraction, where fraction is the fractional part of the index surrounded by lower and higher).
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.