]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Consistency nits:
authorFred Drake <fdrake@acm.org>
Fri, 3 Apr 1998 06:04:12 +0000 (06:04 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 3 Apr 1998 06:04:12 +0000 (06:04 +0000)
Use math-mode pi instead of mixing forms.

Use spaces around relational operators.

Doc/lib/librandom.tex
Doc/librandom.tex

index 66fda8d2993bbbbca963b952a83e4593d91d0ba6..201b9ab500e6f9f069b9a0c11df40df5f6ca7cbf 100644 (file)
@@ -23,7 +23,7 @@ found in any statistics text.
 \setindexsubitem{(in module random)}
 \begin{funcdesc}{betavariate}{alpha, beta}
 Beta distribution.  Conditions on the parameters are
-\code{\var{alpha}>-1} and \code{\var{beta}>-1}.
+\code{\var{alpha} >- 1} and \code{\var{beta} > -1}.
 Returned values will range between 0 and 1.
 \end{funcdesc}
 
@@ -31,7 +31,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 \code{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}
 
@@ -44,7 +44,7 @@ positive infinity.
 
 \begin{funcdesc}{gamma}{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} > -1} and \code{\var{beta} > 0}.
 \end{funcdesc}
 
 \begin{funcdesc}{gauss}{mu, sigma}
index 66fda8d2993bbbbca963b952a83e4593d91d0ba6..201b9ab500e6f9f069b9a0c11df40df5f6ca7cbf 100644 (file)
@@ -23,7 +23,7 @@ found in any statistics text.
 \setindexsubitem{(in module random)}
 \begin{funcdesc}{betavariate}{alpha, beta}
 Beta distribution.  Conditions on the parameters are
-\code{\var{alpha}>-1} and \code{\var{beta}>-1}.
+\code{\var{alpha} >- 1} and \code{\var{beta} > -1}.
 Returned values will range between 0 and 1.
 \end{funcdesc}
 
@@ -31,7 +31,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 \code{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}
 
@@ -44,7 +44,7 @@ positive infinity.
 
 \begin{funcdesc}{gamma}{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} > -1} and \code{\var{beta} > 0}.
 \end{funcdesc}
 
 \begin{funcdesc}{gauss}{mu, sigma}