Expand description

Interpolation strategies.


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.


Used to provide an interpolation strategy to quantile_axis_mut.