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.




Python in a Nutshell
Python in a Nutshell, Second Edition (In a Nutshell)
ISBN: 0596100469
EAN: 2147483647
Year: 2004
Pages: 192
Authors: Alex Martelli

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net