pub trait Variance {
type VarianceType;
// Required method
fn var(&self) -> Self::VarianceType;
}Expand description
Provides a trait for computing the variance of a distribution where there is a closed-form solution.
pub trait Variance {
type VarianceType;
// Required method
fn var(&self) -> Self::VarianceType;
}Provides a trait for computing the variance of a distribution where there is a closed-form solution.