diff options
author | Guido van Rossum <guido@python.org> | 1997-07-17 16:34:52 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-07-17 16:34:52 (GMT) |
commit | e47da0ae04814fab2a0aa6e637de2e4269978017 (patch) | |
tree | 1360ad7010b92c02d287e79accc1415c77bedc3e /Doc/lib/libwhrandom.tex | |
parent | 3c2a056fdd3af1f3b94f134b0cab2bd8050c9703 (diff) | |
download | cpython-e47da0ae04814fab2a0aa6e637de2e4269978017.zip cpython-e47da0ae04814fab2a0aa6e637de2e4269978017.tar.gz cpython-e47da0ae04814fab2a0aa6e637de2e4269978017.tar.bz2 |
AMK's megapatch:
* \bcode, \ecode added everywhere
* \label{module-foo} added everywhere
* A few \seealso sections added.
* Indentation fixed inside verbatim in lib*tex files
Diffstat (limited to 'Doc/lib/libwhrandom.tex')
-rw-r--r-- | Doc/lib/libwhrandom.tex | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Doc/lib/libwhrandom.tex b/Doc/lib/libwhrandom.tex index 6094462..09d7816 100644 --- a/Doc/lib/libwhrandom.tex +++ b/Doc/lib/libwhrandom.tex @@ -1,4 +1,5 @@ \section{Standard Module \sectcode{whrandom}} +\label{module-whrandom} \stmodindex{whrandom} This module implements a Wichmann-Hill pseudo-random number generator @@ -36,7 +37,14 @@ When imported, the \code{whrandom} module also creates an instance of the \code{whrandom} class, and makes the methods of that instance available at the module level. Therefore one can write either \code{N = whrandom.random()} or: -\begin{verbatim} +\bcode\begin{verbatim} generator = whrandom.whrandom() N = generator.random() -\end{verbatim} +\end{verbatim}\ecode +% +\begin{seealso} +\seemodule{random}{generators for various random distributions} +\seetext{Wichmann, B. A. \& Hill, I. D., ``Algorithm AS 183: +An efficient and portable pseudo-random number generator'', +Applied Statistics 31 (1982) 188-190} +\end{seealso} |