std_dev::percentile

Function naive_percentile_by

source
pub fn naive_percentile_by<'a, T>(
    values: &'a mut [T],
    target: impl OrderedListIndex,
    compare: &mut impl FnMut(&T, &T) -> Ordering,
) -> MeanValue<&'a T>
Expand description

Same as naive_percentile but with a custom comparator function.