pub trait StandardDeviation<'a>: Copy + Mean<'a, Self> + Sum<&'a Self> + Sum + Div<Output = Self> + Sub<Output = Self> + Mul<Output = Self>
where Self: 'a,
{ // Required methods fn one() -> Self; fn sqrt(self) -> Self; fn max(self, other: Self) -> Self; }
Expand description

Helper-trait for types used by standard_deviation.

This is implemented generically when the feature generic-impl is enabled.

Required Methods§

source

fn one() -> Self

source

fn sqrt(self) -> Self

source

fn max(self, other: Self) -> Self

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'a, T> StandardDeviation<'a> for T
where T: 'a + Copy + Mean<'a, Self> + PartialOrd + Sum<&'a Self> + Sum + Div<Output = Self> + Sub<Output = Self> + Mul<Output = Self> + One + Real,

Available on crate feature generic-impls only.