View Source ddskerl_exact (ddskerl v0.2.1)
Quantile summary exact implemenation.
This implements an exact count of all elements seen, which is the slowest and most memory consuming algorithm.
It is on the other hand an exact algorithm, hence it can be used for comparison against all other approximations.
Summary
Types
DDSketch instance.
Types
Functions
Insert a value into the DDSketch.
Merge two DDSketch instances.
-spec new() -> ddsketch().
Create a new DDSketch instance.
Calculate the quantile of a DDSketch.
-spec sum(ddsketch()) -> non_neg_integer().
Get the sum of elements in the DDSketch.
-spec total(ddsketch()) -> non_neg_integer().
Get the total number of elements in the DDSketch.