summaryrefslogtreecommitdiffstats
path: root/Doc/lib/librandom.tex
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2002-05-13 22:40:38 (GMT)
committerRaymond Hettinger <python@rcn.com>2002-05-13 22:40:38 (GMT)
commit5359ad63ce1eb4fa176439cde1afe014b142e212 (patch)
tree1f771bf2b275756303ab62959d1d6dead24c6fb8 /Doc/lib/librandom.tex
parenteaba9d7b2807af62e2b0de0a3fede7b0af82b912 (diff)
downloadcpython-5359ad63ce1eb4fa176439cde1afe014b142e212.zip
cpython-5359ad63ce1eb4fa176439cde1afe014b142e212.tar.gz
cpython-5359ad63ce1eb4fa176439cde1afe014b142e212.tar.bz2
Correct gammavariate's method name and domain.
Partial solution to SF bug 527139.
Diffstat (limited to 'Doc/lib/librandom.tex')
-rw-r--r--Doc/lib/librandom.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/librandom.tex b/Doc/lib/librandom.tex
index bff9a76..47fea4f 100644
--- a/Doc/lib/librandom.tex
+++ b/Doc/lib/librandom.tex
@@ -216,9 +216,9 @@ these equations can be found in any statistics text.
positive infinity.
\end{funcdesc}
-\begin{funcdesc}{gamma}{alpha, beta}
+\begin{funcdesc}{gammavariate}{alpha, beta}
Gamma distribution. (\emph{Not} the gamma function!) Conditions on
- the parameters are \code{\var{alpha} > -1} and \code{\var{beta} > 0}.
+ the parameters are \code{\var{alpha} >= 0.5} and \code{\var{beta} > 0}.
\end{funcdesc}
\begin{funcdesc}{gauss}{mu, sigma}