Previous Page
Next Page

Chapter 15. Numeric Processing

You can perform some numeric computations with operators (covered in "Numeric Operations" on page 52) and built-in functions (covered in "Built-in Functions" on page 158). Python also provides modules that support additional numeric computation functionality, as documented in this chapter: math, cmath in "The math and cmath Modules" on page 365, operator in "The operator Module" on page 368, random in "The random module" on page 370, and decimal in "The decimal Module" on page 372. "The gmpy Module" on page 373 also covers third-party module gmpy, which further extends Python's numeric computation abilities. Numeric processing often requires, more specifically, the processing of arrays of numbers, covered in Chapter 16.


Previous Page
Next Page