std_dev

Trait StandardDeviation

source
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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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