Skip to main content

percentile_from_counts

Function percentile_from_counts 

Source
fn percentile_from_counts<T: Copy + Ord>(
    counts: &BTreeMap<T, usize>,
    len: usize,
    numerator: usize,
    denominator: usize,
) -> Option<T>