Searched refs:percentile_of_sorted (Results 1 – 2 of 2) sorted by relevance
/external/rust/crates/plotters/src/data/ |
D | quartiles.rs | 14 fn percentile_of_sorted<T: Into<f64> + Copy>(s: &[T], pct: f64) -> f64 { in percentile_of_sorted() method 50 let lower = Quartiles::percentile_of_sorted(&s, 25_f64); in new() 51 let median = Quartiles::percentile_of_sorted(&s, 50_f64); in new() 52 let upper = Quartiles::percentile_of_sorted(&s, 75_f64); in new()
|
/external/rust/crates/bencher/ |
D | stats.rs | 259 percentile_of_sorted(&tmp, pct) in percentile() 266 let a = percentile_of_sorted(&tmp, first); in quartiles() 268 let b = percentile_of_sorted(&tmp, secound); in quartiles() 270 let c = percentile_of_sorted(&tmp, third); in quartiles() 283 fn percentile_of_sorted(sorted_samples: &[f64], pct: f64) -> f64 { in percentile_of_sorted() function 316 let lo = percentile_of_sorted(&tmp, pct); in winsorize() 318 let hi = percentile_of_sorted(&tmp, hundred - pct); in winsorize()
|