Class Base2ExponentialHistogramIndexer

Class Documentation

class Base2ExponentialHistogramIndexer

Public Functions

explicit Base2ExponentialHistogramIndexer(int32_t scale = 0)
Base2ExponentialHistogramIndexer(const Base2ExponentialHistogramIndexer &other) = default
Base2ExponentialHistogramIndexer &operator=(const Base2ExponentialHistogramIndexer &other) = default
int32_t ComputeIndex(double value) const

Compute the index for the given value.

Parameters

value – Measured value (must be non-zero).

Returns

the index of the bucket which the value maps to.