pub struct Moments {
pub mean: f32,
pub variance: f32,
pub skewness: f32,
pub kurtosis: f32,
}Expand description
The four leading moments of a block.
Fields§
§mean: f32Arithmetic mean.
variance: f32Population variance (E[(x-μ)^2]).
skewness: f32Standardised skewness (E[(x-μ)^3] / σ^3); 0 for symmetric data.
kurtosis: f32Pearson kurtosis (E[(x-μ)^4] / σ^4); 3.0 for a normal distribution.
Implementations§
Trait Implementations§
impl Copy for Moments
impl StructuralPartialEq for Moments
Auto Trait Implementations§
impl Freeze for Moments
impl RefUnwindSafe for Moments
impl Send for Moments
impl Sync for Moments
impl Unpin for Moments
impl UnsafeUnpin for Moments
impl UnwindSafe for Moments
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