pub trait StatisticsExt: Iterator + Sized{
// Provided methods
fn mean(self) -> Option<f64> { ... }
fn variance(self) -> Option<f64> { ... }
fn std_dev(self) -> Option<f64> { ... }
}
Expand description
Extension trait for iterators to provide statistical operations
Provided Methods§
fn mean(self) -> Option<f64>
fn variance(self) -> Option<f64>
fn std_dev(self) -> Option<f64>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.