March 2003
Intermediate to advanced
656 pages
39h 30m
English
uniform
uniform(a,b)
Returns a random floating-point number r
from a uniform distribution, such that
a
<=
r
<
b.
Module random also supplies functions that
generate pseudo-random floating-point numbers from many other
probability distributions (Beta, Gamma, exponential, Gauss, Pareto,
etc.). All of these functions internally call
random.random as their source of
randomness.
Read now
Unlock full access