• Create the possible ranges in an exponential distribution from min to max with bucket_count buckets.

    This algorithm calculates the bucket sizes using a natural log approach to get bucket_count number of buckets, exponentially spaced between min and max.

    Bucket limits are the minimal bucket value. That means values in a bucket i are bucket[i] <= value < bucket[i+1]. It will always contain an underflow bucket (< 1).

    NOTE Exported solely for testing purposes.

    Parameters

    • min: number

      The minimum number in the distribution.

    • max: number

      The maximum number in the distribution.

    • bucketCount: number

      The number of total buckets.

    Returns number[]

    The computed bucket ranges.

Generated using TypeDoc