December 2000
Intermediate to advanced
816 pages
16h 57m
English
There are a number of modules in the Python standard library that add-on to the functionality of the operators and built-in functions for numeric types. Table 5.7 lists the key modules for use with numeric types. Refer to the literature or online documentation for more information on these modules.
| module | contents |
|---|---|
| array | implements array types… a restricted sequence type |
| math/cmath | supplies standard C library mathematical functions; most functions available in math are implemented for complex numbers in the cmath module |
| operator | contains numeric operators available as function calls, i.e., operator.sub(m, n) is equivalent to the difference (m - n) for numbers m and n |
| random ... |
Read now
Unlock full access