Trait Variance
micromath::statistics
pub trait Variance { type Result; fn variance(self) -> Self::Result; }
Statistical variance
type Result
Result type
fn variance(self) -> Self::Result
Compute the statistical variance
impl<'_, T> Variance for &'_ [T] where T: Copy + Into<f32>,
type Result = f32
fn variance(self) -> f32