Skip to main content

median

Function median 

Source
pub fn median(values: &mut [f64]) -> Option<f64>
Expand description

Sort positive finite ratios in place and return their median. Empty, zero, negative or nonfinite input returns None.