Expand description
Operations on crate::Clusters.
This attempts to implement all functionality of this module but using clusters. This turned out to be quite difficult.
Modules§
Functions§
- median
- Convenience function for
percentilewith the 50% mark as the target andpivot_fn::rand(if thepercentile-randfeature is enabled, elsepivot_fn::middle). - naive_
percentile - Percentile by sorting.
- naive_
percentile_ by - Same as
naive_percentilebut with a custom comparator function. - percentile
- quickselect algorithm
- percentile_
by - Same as
percentilebut with a custom comparator function. - percentile_
default_ pivot - Get the value at
targetinvalues. Uses the best method available (percentile_randif featurepercentile-randis enabled, elsepivot_fn::middle) - percentile_
default_ pivot_ by - Same as
percentile_default_pivotbut with a custom comparator function. - percentile_
rand percentile-rand - Convenience function for
percentilewithpivot_fn::rand.