Class representing a t-Digest for approximate quantile estimation.
Creates a new TDigest instance.
Optional
The compression parameter affecting quantile accuracy.
The maximum number of centroids before compression.
Adds a value to the t-Digest.
The value to add.
The weight of the value.
Calculates the cumulative distribution function (CDF) for a given value.
The value to calculate the CDF for.
The estimated probability of being less than or equal to the value.
Returns the current number of centroids in the t-Digest.
The number of centroids.
Estimates the value at a given quantile.
The quantile to estimate (between 0 and 1).
The estimated value at the given quantile.
Class representing a t-Digest for approximate quantile estimation.