empty
fun empty(relativeAccuracy: Double = DEFAULT_RELATIVE_ACCURACY, minIndexedValue: Double = DEFAULT_MIN_INDEXED_VALUE, maxIndexedValue: Double = DEFAULT_MAX_INDEXED_VALUE): DDSketch
An empty sketch.
All three parameters are cluster-wide constants: sketches merge only when they match exactly. The defaults (α = 0.01, indexable range 1e−9…1e18) give 1% quantile accuracy over 27 orders of magnitude with at most ≈3110 buckets per sign.
Parameters
relativeAccuracy
α in (0, 1) exclusive. Smaller α → tighter quantile estimates and more (finer) buckets.
minIndexedValue
smallest indexable magnitude (> 0); anything smaller counts as zero.
maxIndexedValue
largest indexable magnitude (>minIndexedValue); anything larger clamps into the top bucket and increments overflowCount.