Expand description
§Standard Deviation Calculation
This module provides functions for calculating the standard deviation of a dataset.
The standard deviation is a measure of the amount of variation or dispersion of a set of values. It is calculated as the square root of the variance.
§Supported Types
The standard deviation function accepts any numeric type that implements num_traits::ToPrimitive,
including:
- Primitive integers (i8, i16, i32, i64, u8, u16, u32, u64)
- Floating point numbers (f32, f64)
- Big integers (BigInt, BigUint)
- Any custom type that implements ToPrimitive
Functions§
- std_dev
- Calculate the standard deviation of a dataset.