Previous Page
Next Page

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).


Previous Page
Next Page