summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-04-20 14:43:44 (GMT)
committerGuido van Rossum <guido@python.org>1998-04-20 14:43:44 (GMT)
commita933f6a53d45099cb5a45f1dc58555cf245bcc81 (patch)
tree98b33415b3c6ef79075abcaf451ba9e0b583a93d /Doc
parent9a34523e19a7241e4b14151ca96243234af650e4 (diff)
downloadcpython-a933f6a53d45099cb5a45f1dc58555cf245bcc81.zip
cpython-a933f6a53d45099cb5a45f1dc58555cf245bcc81.tar.gz
cpython-a933f6a53d45099cb5a45f1dc58555cf245bcc81.tar.bz2
Fix vonmisesvariate() -- it now returns an angle between 0 and *two*
times pi. Got rid of $math$ here and in one other place.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/librandom.tex8
-rw-r--r--Doc/librandom.tex8
2 files changed, 8 insertions, 8 deletions
diff --git a/Doc/lib/librandom.tex b/Doc/lib/librandom.tex
index fb62f8f..b76822e 100644
--- a/Doc/lib/librandom.tex
+++ b/Doc/lib/librandom.tex
@@ -30,7 +30,7 @@ Returned values will range between 0 and 1.
Circular uniform distribution. \var{mean} is the mean angle, and
\var{arc} is the range of the distribution, centered around the mean
angle. Both values must be expressed in radians, and can range
-between 0 and $\pi$. Returned values will range between
+between 0 and pi. Returned values will range between
\code{\var{mean} - \var{arc}/2} and \code{\var{mean} + \var{arc}/2}.
\end{funcdesc}
@@ -65,11 +65,11 @@ standard deviation.
\end{funcdesc}
\begin{funcdesc}{vonmisesvariate}{mu, kappa}
-\var{mu} is the mean angle, expressed in radians between 0 and pi,
+\var{mu} is the mean angle, expressed in radians between 0 and 2*pi,
and \var{kappa} is the concentration parameter, which must be greater
-then or equal to zero. If \var{kappa} is equal to zero, this
+than or equal to zero. If \var{kappa} is equal to zero, this
distribution reduces to a uniform random angle over the range 0 to
-$2\pi$.
+2*pi.
\end{funcdesc}
\begin{funcdesc}{paretovariate}{alpha}
diff --git a/Doc/librandom.tex b/Doc/librandom.tex
index fb62f8f..b76822e 100644
--- a/Doc/librandom.tex
+++ b/Doc/librandom.tex
@@ -30,7 +30,7 @@ Returned values will range between 0 and 1.
Circular uniform distribution. \var{mean} is the mean angle, and
\var{arc} is the range of the distribution, centered around the mean
angle. Both values must be expressed in radians, and can range
-between 0 and $\pi$. Returned values will range between
+between 0 and pi. Returned values will range between
\code{\var{mean} - \var{arc}/2} and \code{\var{mean} + \var{arc}/2}.
\end{funcdesc}
@@ -65,11 +65,11 @@ standard deviation.
\end{funcdesc}
\begin{funcdesc}{vonmisesvariate}{mu, kappa}
-\var{mu} is the mean angle, expressed in radians between 0 and pi,
+\var{mu} is the mean angle, expressed in radians between 0 and 2*pi,
and \var{kappa} is the concentration parameter, which must be greater
-then or equal to zero. If \var{kappa} is equal to zero, this
+than or equal to zero. If \var{kappa} is equal to zero, this
distribution reduces to a uniform random angle over the range 0 to
-$2\pi$.
+2*pi.
\end{funcdesc}
\begin{funcdesc}{paretovariate}{alpha}