Chapter 16. Array Processing


You can represent arrays with lists (covered in "Lists" on page 43), as well as with the array standard library module (covered in "The array Module" on page 375). You can manipulate arrays with loops; list comprehensions; iterators; generators; genexps (all covered in Chapter 4); built-ins such as map, reduce, and filter (all covered in "Built-in Functions" on page 158); and standard library modules such as itertools (covered in "The itertools Module" on page 183). However, to process large arrays of numbers, such functions may be slower and less convenient than extensions such as Numeric, numarray, and numpy (covered in "Extensions for Numeric Array Computation" on page 377).




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