pub fn quantile_from_sorted(sorted: &[f64], q: f64) -> f64
Linear-interpolation quantile matching numpy.quantile default (method=‘linear’).