Function weighted_median

Source
pub fn weighted_median(vec: &[f64]) -> f64
Expand description

Return the weighted median for \p vec. This is the method that’s described in “DAG - A Program that Draws Directed Graphs” Gansner, North, Vo 1989. Pg 10.