Trait statrs::statistics::DiscreteDistribution

source ·
pub trait DiscreteDistribution<T: Float>: Distribution<u64> {
    // Provided methods
    fn mean(&self) -> Option<T> { ... }
    fn variance(&self) -> Option<T> { ... }
    fn std_dev(&self) -> Option<T> { ... }
    fn entropy(&self) -> Option<T> { ... }
    fn skewness(&self) -> Option<T> { ... }
}

Provided Methods§

source

fn mean(&self) -> Option<T>

Returns the mean, if it exists.

source

fn variance(&self) -> Option<T>

Returns the variance, if it exists.

source

fn std_dev(&self) -> Option<T>

Returns the standard deviation, if it exists.

source

fn entropy(&self) -> Option<T>

Returns the entropy, if it exists.

source

fn skewness(&self) -> Option<T>

Returns the skewness, if it exists.

Object Safety§

This trait is not object safe.

Implementors§