© Robert Johansson 2019
Robert JohanssonNumerical Python https://doi.org/10.1007/978-1-4842-4246-9_2

2. Vectors, Matrices, and Multidimensional Arrays

Robert Johansson1 
(1)
Urayasu-shi, Chiba, Japan
 

Vectors, matrices, and arrays of higher dimensions are essential tools in numerical computing. When a computation must be repeated for a set of input values, it is natural and advantageous to represent the data as arrays and the computation in terms of array operations. Computations that are formulated this way are said to be vectorized.1 Vectorized computing eliminates the need for many explicit loops over the array elements by applying batch operations on the array data. The result is concise and more maintainable code, and it enables delegating the ...

Get Numerical Python: Scientific Computing and Data Science Applications with Numpy, SciPy and Matplotlib now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.