[][src]Module micromath::statistics

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

trim

Iterate over input slices after culling statistical outliers.

Traits

Mean

Arithmetic mean

StdDev

Compute standard deviation

Variance

Statistical variance