Skip to content

Add Quantile method to CountMap #1

@adknudson

Description

@adknudson

If the observation type of CountMap has a total ordering (T : IComparable<T>), then one can define the Median and more generally the Quantile function.

For simplicity, we can probably omit the IComparable<T> requirement, and just order the keys by the default comparer. There can be an overload that takes a specific comparer if a different ordering is required.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions