whrandom
This module implements a Wichmann-Hill pseudo-random number generator
class that is also named whrandom. Instances of the
whrandom class have the following methods:
a<=N<=b.
a<=N<b.
When imported, the whrandom module also creates an instance of
the whrandom class, and makes the methods of that instance
available at the module level. Therefore one can write either
N = whrandom.random() or:
generator = whrandom.whrandom() N = generator.random()
See Also:
random (generators for various random distributions)
Wichmann, B. A. & Hill, I. D., ``Algorithm AS 183:
An efficient and portable pseudo-random number generator'',
Applied Statistics 31 (1982) 188-190