| random | index /usr/lib/python1.6/random.py |
Random variable generators.
distributions on the real line:
------------------------------
normal (Gaussian)
lognormal
negative exponential
gamma
beta
distributions on the circle (angles 0 to 2pi)
---------------------------------------------
circular uniform
von Mises
Translated from anonymously contributed C/C++ source.
Multi-threading note: the random number generator used here is not
thread-safe; it is possible that two calls return the same random
value. See whrandom.py for more info.
| Modules | ||||||
| ||||||
| Classes | ||||||||||
| ||||||||||
| Functions | ||
| ||
| Data | ||
| LOG4 = 1.3862943611198906 NV_MAGICCONST = 1.7155277699214135 SG_MAGICCONST = 2.5040773967762742 TWOPI = 6.2831853071795862 __file__ = '/usr/lib/python1.6/random.pyc' __name__ = 'random' e = 2.7182818284590451 gauss_next = None pi = 3.1415926535897931 | ||