mirror of https://github.com/python/cpython
Consistency nits:
Use math-mode pi instead of mixing forms. Use spaces around relational operators.
This commit is contained in:
parent
76547c5631
commit
4e6688747c
|
@ -23,7 +23,7 @@ found in any statistics text.
|
||||||
\setindexsubitem{(in module random)}
|
\setindexsubitem{(in module random)}
|
||||||
\begin{funcdesc}{betavariate}{alpha, beta}
|
\begin{funcdesc}{betavariate}{alpha, beta}
|
||||||
Beta distribution. Conditions on the parameters are
|
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.
|
Returned values will range between 0 and 1.
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ Returned values will range between 0 and 1.
|
||||||
Circular uniform distribution. \var{mean} is the mean angle, and
|
Circular uniform distribution. \var{mean} is the mean angle, and
|
||||||
\var{arc} is the range of the distribution, centered around the mean
|
\var{arc} is the range of the distribution, centered around the mean
|
||||||
angle. Both values must be expressed in radians, and can range
|
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}.
|
\code{\var{mean} - \var{arc}/2} and \code{\var{mean} + \var{arc}/2}.
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ positive infinity.
|
||||||
|
|
||||||
\begin{funcdesc}{gamma}{alpha, beta}
|
\begin{funcdesc}{gamma}{alpha, beta}
|
||||||
Gamma distribution. (\emph{Not} the gamma function!) Conditions on
|
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}
|
\end{funcdesc}
|
||||||
|
|
||||||
\begin{funcdesc}{gauss}{mu, sigma}
|
\begin{funcdesc}{gauss}{mu, sigma}
|
||||||
|
|
|
@ -23,7 +23,7 @@ found in any statistics text.
|
||||||
\setindexsubitem{(in module random)}
|
\setindexsubitem{(in module random)}
|
||||||
\begin{funcdesc}{betavariate}{alpha, beta}
|
\begin{funcdesc}{betavariate}{alpha, beta}
|
||||||
Beta distribution. Conditions on the parameters are
|
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.
|
Returned values will range between 0 and 1.
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ Returned values will range between 0 and 1.
|
||||||
Circular uniform distribution. \var{mean} is the mean angle, and
|
Circular uniform distribution. \var{mean} is the mean angle, and
|
||||||
\var{arc} is the range of the distribution, centered around the mean
|
\var{arc} is the range of the distribution, centered around the mean
|
||||||
angle. Both values must be expressed in radians, and can range
|
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}.
|
\code{\var{mean} - \var{arc}/2} and \code{\var{mean} + \var{arc}/2}.
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ positive infinity.
|
||||||
|
|
||||||
\begin{funcdesc}{gamma}{alpha, beta}
|
\begin{funcdesc}{gamma}{alpha, beta}
|
||||||
Gamma distribution. (\emph{Not} the gamma function!) Conditions on
|
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}
|
\end{funcdesc}
|
||||||
|
|
||||||
\begin{funcdesc}{gauss}{mu, sigma}
|
\begin{funcdesc}{gauss}{mu, sigma}
|
||||||
|
|
Loading…
Reference in New Issue