fn weighted_quantile(values: Vec<(f32, f32)>, q: f32) -> Option<f32>
The weighted median of (value, weight).