pub trait DiscreteDistribution<T: Float>: Distribution<u64> {
    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§

Returns the mean, if it exists.

Returns the variance, if it exists.

Returns the standard deviation, if it exists.

Returns the entropy, if it exists.

Returns the skewness, if it exists.

Implementors§