Struct russell_stat::Statistics
source · pub struct Statistics {
pub min: f64,
pub max: f64,
pub mean: f64,
pub std_dev: f64,
}
Expand description
Holds basic statistics of a dataset
Note: The statistics() function allocates a new Statistics structure
Fields§
§min: f64
Minimum value
max: f64
Maximum value
mean: f64
Arithmetic mean
std_dev: f64
(sample) Standard deviation (applying Bessel’s correction)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Statistics
impl RefUnwindSafe for Statistics
impl Send for Statistics
impl Sync for Statistics
impl Unpin for Statistics
impl UnwindSafe for Statistics
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more