mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
Restructured library documentation
This commit is contained in:
parent
0b0719866e
commit
5fdeeeae2a
101 changed files with 12244 additions and 0 deletions
20
Doc/lib/libwhrandom.tex
Normal file
20
Doc/lib/libwhrandom.tex
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
\section{Standard Module \sectcode{whrandom}}
|
||||
|
||||
\stmodindex{whrandom}
|
||||
This module implements a Wichmann-Hill pseudo-random number generator.
|
||||
It defines the following functions:
|
||||
|
||||
\renewcommand{\indexsubitem}{(in module whrandom)}
|
||||
\begin{funcdesc}{random}{}
|
||||
Returns the next random floating point number in the range [0.0 ... 1.0).
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{seed}{x\, y\, z}
|
||||
Initializes the random number generator from the integers
|
||||
\var{x},
|
||||
\var{y}
|
||||
and
|
||||
\var{z}.
|
||||
When the module is first imported, the random number is initialized
|
||||
using values derived from the current time.
|
||||
\end{funcdesc}
|
||||
Loading…
Add table
Add a link
Reference in a new issue