Use py_resource module
[python/dscho.git] / Doc / libwhrandom.tex
blob8ad2339a34a3e51003fe909249f8e16bf78282ac
1 \section{Standard Module \sectcode{whrandom}}
3 \stmodindex{whrandom}
4 This module implements a Wichmann-Hill pseudo-random number generator.
5 It defines the following functions:
7 \renewcommand{\indexsubitem}{(in module whrandom)}
8 \begin{funcdesc}{random}{}
9 Returns the next random floating point number in the range [0.0 ... 1.0).
10 \end{funcdesc}
12 \begin{funcdesc}{seed}{x\, y\, z}
13 Initializes the random number generator from the integers
14 \var{x},
15 \var{y}
16 and
17 \var{z}.
18 When the module is first imported, the random number is initialized
19 using values derived from the current time.
20 \end{funcdesc}