Struct criterion_stats::univariate::Percentiles
[−]
[src]
pub struct Percentiles<A>(_)
where
A: Float;
A "view" into the percentiles of a sample
Methods
impl<A> Percentiles<A> where
A: Float,
usize: From<A, Output = Result<usize, Error>>,
[src]
A: Float,
usize: From<A, Output = Result<usize, Error>>,
pub fn at(&self, p: A) -> A
[src]
pub fn iqr(&self) -> A
[src]
Returns the interquartile range
pub fn median(&self) -> A
[src]
Returns the 50th percentile
pub fn quartiles(&self) -> (A, A, A)
[src]
Returns the 25th, 50th and 75th percentiles