[Python-checkins] python/dist/src/Doc/lib librandom.tex,1.33,1.34
rhettinger at users.sourceforge.net
rhettinger at users.sourceforge.net
Tue Aug 5 06:23:21 EDT 2003
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv30058/Doc/lib
Modified Files:
librandom.tex
Log Message:
Removed deprecated functions
Index: librandom.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/librandom.tex,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** librandom.tex 29 Dec 2002 23:03:38 -0000 1.33
--- librandom.tex 5 Aug 2003 12:23:19 -0000 1.34
***************
*** 169,184 ****
\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
--- 169,172 ----
More information about the Python-checkins
mailing list