pub trait ScalarDistribution { // Required methods fn mean(&self) -> f64; fn variance(&self) -> f64; fn std_dev(&self) -> f64; }
Represents a generic scalar distribution
Computes the mean of the distribution
Computes the variance of the distribution
Computes the standard deviation of the distribution