Coding Vignette- Linear Algebra in Numpy

Click here for a video on basic linear algebra in Numpy.
Author

George I. Hagstrom

Published

February 5, 2025

I’m not sure how many of you have had experience with using python for linear algebra, so I decided to make a short video that goes over the basics of numpy (you are free to use R or Julia as well). I also solve a problem where I re-express the formula for the pseudoinverse of a matrix using the singular value decomposition of that matrix. I did it sort of to show how you might write out a long math expression in markdown, and to talk about matrix algebra and the properties of the SVD. This calculation is quite a bit more invovled than what I am asking on the homework, so don’t be intimidated.

Click here to watch the video on youtube

You may also find the numpy documentation helpful: Click Here

I have also included the ipython notebook