Random variate generation in one line of code
Luc Devroye · 1996
A random variate with a given non-uniform distribution can often by generated in one assignment statement if a uniform source and some simple functions are available. We review such one-line methods for most of the key distributions.