simulate_exponential

function simulate_exponential(λ:Real) -> Real

Simulate an exponential distribution.

  • λ: Rate.