Crate medians

Source
Expand description

Fast new algorithms for computing medians of (one dimensional) vectors

Modules§

algos
Functions for finding medians
implementations
Methods that implement Display and traits

Enums§

MedError
custom error
Medians
Enum for results of odd/even medians of complex endtypes

Traits§

Median
Fast 1D generic medians, plus related methods
Medianf64
Fast 1D medians of floating point data, plus related methods

Functions§

medianu8
Medians of u8 end type by fast radix search
medianu64
Fast medians of u64 end type by binary partitioning.
Changes the order of the input data
medu64
Medians of u64 end type by fast recursive radix search
merror
Convenience function for building MedError
from error kind name and payload message, which can be either &str or String

Type Aliases§

Me
Shorthand type for medians errors with message payload specialized to String