Trait compute::distributions::Mean[][src]

pub trait Mean {
    type MeanType;
    fn mean(&self) -> Self::MeanType;
}
Expand description

Provides a trait for computing the mean of a distribution where there is a closed-form expression.

Associated Types

Required methods

Calculates the mean of the distribution.

Implementors