logMapping
logMapping(
relativeAccuracy):IndexMapping
Defined in: packages/distillate/src/ddsketch/mapping.ts:404
A mapping whose bins grow by exactly gamma: the most compact for a given
accuracy, at the cost of a Math.log per value.
Parameters
Section titled “Parameters”relativeAccuracy
Section titled “relativeAccuracy”number
Relative error bound, in (0, 1).
Returns
Section titled “Returns”Throws
Section titled “Throws”ParamError when relativeAccuracy is outside (0, 1), or
so small that no value is indexable.