mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Removed deprecated functions
This commit is contained in:
parent
02771c174c
commit
f8a52d38ad
2 changed files with 2 additions and 61 deletions
|
|
@ -168,18 +168,6 @@ these equations can be found in any statistics text.
|
|||
Returned values range between 0 and 1.
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{cunifvariate}{mean, arc}
|
||||
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 \emph{pi}. Returned values range between
|
||||
\code{\var{mean} - \var{arc}/2} and \code{\var{mean} +
|
||||
\var{arc}/2} and are normalized to between 0 and \emph{pi}.
|
||||
|
||||
\deprecated{2.3}{Instead, use \code{(\var{mean} + \var{arc} *
|
||||
(random.random() - 0.5)) \% math.pi}.}
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{expovariate}{lambd}
|
||||
Exponential distribution. \var{lambd} is 1.0 divided by the desired
|
||||
mean. (The parameter would be called ``lambda'', but that is a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue