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]
impl<A> Percentiles<A> where
A: Float,
usize: From<A, Output = Result<usize, Error>>,
pub fn at(&self, p: A) -> A
[src]
pub fn at(&self, p: A) -> A
pub fn iqr(&self) -> A
[src]
pub fn iqr(&self) -> A
Returns the interquartile range
pub fn median(&self) -> A
[src]
pub fn median(&self) -> A
Returns the 50th percentile
pub fn quartiles(&self) -> (A, A, A)
[src]
pub fn quartiles(&self) -> (A, A, A)
Returns the 25th, 50th and 75th percentiles
Auto Trait Implementations
impl<A> Send for Percentiles<A>
impl<A> Send for Percentiles<A>
impl<A> Sync for Percentiles<A>
impl<A> Sync for Percentiles<A>