Matrices in NumPy are subclasses of ndarray
. We can create matrices using a special string format. They are, just like in mathematics, two-dimensional (see https://www.khanacademy.org/math/precalculus/precalc-matrices). Matrix multiplication is, as you would expect, different from the normal NumPy multiplication. The same is true for the power operator. We can create matrices with the mat()
, matrix()
, and bmat()
functions.
NumPy: Beginner's Guide
By :
NumPy: Beginner's Guide
By:
Overview of this book
Table of Contents (21 chapters)
NumPy Beginner's Guide Third Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
NumPy Quick Start
Beginning with NumPy Fundamentals
Getting Familiar with Commonly Used Functions
Convenience Functions for Your Convenience
Working with Matrices and ufuncs
Moving Further with NumPy Modules
Peeking into Special Routines
Assuring Quality with Testing
Plotting with matplotlib
When NumPy Is Not Enough – SciPy and Beyond
Playing with Pygame
Pop Quiz Answers
Additional Online Resources
NumPy Functions' References
Index
Customer Reviews