Module micromath::statistics

source ·
Available on crate feature statistics only.
Expand description

Statistical analysis support.

The statistics Cargo feature must be enabled to use this functionality.

The following traits are available and impl’d for slices and iterators of f32 (and can be impl’d for other types):

  • Mean - compute arithmetic mean with the mean() method.
  • StdDev - compute standard deviation with the stddev() method
  • Trim - cull outliers from a sample slice with the trim() method.
  • Variance - compute variance with the `variance() method.

Re-exports

  • pub use self::trim::Trim;

Modules

  • Iterate over input slices after culling statistical outliers.

Traits