summaryrefslogtreecommitdiffstats
path: root/Doc/lib/librandom.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-12-30 17:38:05 (GMT)
committerGuido van Rossum <guido@python.org>1997-12-30 17:38:05 (GMT)
commit4f80b65aa6ff648036cd8d2b214dd4582ac65c1f (patch)
tree04faf4a90ef3b7b5671efd2a5631ef9dc53069ae /Doc/lib/librandom.tex
parentf5910e42d129a860ae0f41cd23b136ad53a33a0d (diff)
downloadcpython-4f80b65aa6ff648036cd8d2b214dd4582ac65c1f.zip
cpython-4f80b65aa6ff648036cd8d2b214dd4582ac65c1f.tar.gz
cpython-4f80b65aa6ff648036cd8d2b214dd4582ac65c1f.tar.bz2
Added "docs" for Pareto and Weibull distributions.
Diffstat (limited to 'Doc/lib/librandom.tex')
-rw-r--r--Doc/lib/librandom.tex8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/lib/librandom.tex b/Doc/lib/librandom.tex
index b8d5f78..7b29092 100644
--- a/Doc/lib/librandom.tex
+++ b/Doc/lib/librandom.tex
@@ -71,6 +71,14 @@ distribution reduces to a uniform random angle over the range 0 to
\code{2*pi}.
\end{funcdesc}
+\begin{funcdesc}{paretovariate}{alpha}
+Pareto distribution. \var{alpha} is the shape parameter.
+\end{funcdesc}
+
+\begin{funcdesc}{weibullvariate}{alpha, beta}
+Weibull distribution. \var{alpha} is the scale parameter, and
+\var{beta} is the shape parameter.
+\end{funcdesc}
\begin{seealso}
\seemodule{whrandom}{the standard Python random number generator}