Skip to Content
Numerical Python: Scientific Computing and Data Science Applications with Numpy, SciPy and Matplotlib
book

Numerical Python: Scientific Computing and Data Science Applications with Numpy, SciPy and Matplotlib

by Robert Johansson
December 2018
Intermediate to advanced
709 pages
18h 56m
English
Apress
Content preview from Numerical Python: Scientific Computing and Data Science Applications with Numpy, SciPy and Matplotlib
© Robert Johansson 2019
Robert JohanssonNumerical Python https://doi.org/10.1007/978-1-4842-4246-9_10

10. Sparse Matrices and Graphs

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

We have already seen numerous examples of arrays and matrices being the essential entities in many aspects of numerical computing. So far we have represented arrays with the NumPy ndarray data structure, which is a heterogeneous representation that stores all the elements of the array that it represents. In many cases, this is the most efficient way to represent an object such as a vector, matrix, or a higher-dimensional array. However, notable exceptions are matrices where most of the elements are zeros. Such matrices are known as sparse matrices, and they occur in many ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Numerical Computing with NumPy

Mastering Numerical Computing with NumPy

Umit Mert Cakmak, Tiago Antao, Mert Cuhadaroglu
Numerical Computing with Python

Numerical Computing with Python

Pratap Dangeti, Allen Yu, Claire Chung, Aldrin Yim

Publisher Resources

ISBN: 9781484242469Purchase LinkPublisher Website