Summary

In this chapter, we covered the matrix class and polynomial class for linear algebra. We looked at the advanced functions provided by both classes, and also saw the performance advantage given by ndarray when doing the basic transpose. Also we introduced the numpy.linalg class, which provides many functions to deal with linear or polynomial computations with ndarray.

We did lots of math in this chapter, but we also found out how to use NumPy to help us answer some real-world questions.

In next chapter, we will get to know Fourier transformation and its application within NumPy.

Get NumPy Essentials 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.