sample

open override fun sample(random: Random): Double(source)

Draws a single random value from this exponential distribution using the inverse CDF method.

Return

a non-negative random value drawn from this distribution.

Parameters

random

the source of randomness.