median_f64

Function median_f64 

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

Compute median of a mutable slice using O(n) selection algorithm.

The input slice will be partially reordered. Returns None if the slice is empty.