1995-03-28 09:35:14 -04:00
|
|
|
\chapter{Miscellaneous Services}
|
1998-02-18 11:21:26 -04:00
|
|
|
\label{misc}
|
1995-03-28 09:35:14 -04:00
|
|
|
|
|
|
|
The modules described in this chapter provide miscellaneous services
|
|
|
|
that are available in all Python versions. Here's an overview:
|
|
|
|
|
|
|
|
\begin{description}
|
|
|
|
|
|
|
|
\item[math]
|
1998-02-18 11:21:26 -04:00
|
|
|
--- Mathematical functions (\function{sin()} etc.).
|
1995-03-28 09:35:14 -04:00
|
|
|
|
1998-02-11 18:33:57 -04:00
|
|
|
\item[cmath]
|
|
|
|
--- Mathematical functions for complex numbers.
|
|
|
|
|
1995-03-28 09:35:14 -04:00
|
|
|
\item[whrandom]
|
1997-04-03 18:41:49 -04:00
|
|
|
--- Floating point pseudo-random number generator.
|
|
|
|
|
|
|
|
\item[random]
|
|
|
|
--- Generate pseudo-random numbers with various common distributions.
|
|
|
|
|
|
|
|
\item[rand]
|
|
|
|
--- Integer pseudo-random number generator (obsolete).
|
1995-03-28 09:35:14 -04:00
|
|
|
|
|
|
|
\item[array]
|
|
|
|
--- Efficient arrays of uniformly typed numeric values.
|
|
|
|
|
|
|
|
\end{description}
|