Coding the Matrix: Linear Algebra through Applications to Computer Science

Category: Mathematics
Author: Philip N. Klein
4.1
This Year Hacker News 4
This Month Hacker News 1

About This Book

An engaging introduction to vectors and matrices and the algorithms that operate on them, intended for the student who knows how to program.

Mathematical concepts and computational problems are motivated by applications in computer science. The reader learns by doing, writing programs to implement the mathematical concepts and using them to carry out tasks and explore the applications.

Examples include: error-correcting codes, transformations in graphics, face detection, encryption and secret-sharing, integer factoring, removing perspective from an image, PageRank (Google's ranking algorithm), and cancer detection from cell features. A companion web site, codingthematrix.com provides data and support code.

Most of the assignments can be auto-graded online. Over two hundred illustrations, including a selection of relevant xkcd comics. Chapters: The Function, The Field, The Vector, The Vector Space, The Matrix, The Basis, Dimension, Gaussian Elimination, The Inner Product, Special Bases, The Singular Value Decomposition, The Eigenvector, The Linear Program

Comments

by rpeden   2019-05-31
There used to be a Coursera course called Coding the Matrix. It covered many linear algebra topics using Python. The course isn't available anymore on Coursera anymore, but you can still buy the textbook:

https://www.amazon.com/Coding-Matrix-Algebra-Applications-Co...

by nafizh   2019-01-31
If you want to learn linear algebra by coding in python, this is hands down the best book out there.

Coding the Matrix - Philip Klein [0]

It used to have a Coursera course, but I think it's been taken down. The website has videos of the course taught at Brown I think.

The associated website is: https://www.amazon.com/Coding-Matrix-Algebra-Applications-Co...

by mindcrime   2018-08-17
If you haven't already studied Linear Algebra, and want to get a headstart on that, check out the "Coding The Matrix" book/videos from Brown.

https://www.amazon.com/Coding-Matrix-Algebra-Applications-Co...

Also, see the Gilbert Strang video series on Linear Algebra:

https://www.youtube.com/playlist?list=PL49CF3715CB9EF31D

and the amazing 3blue1brown "Essence of Linear Algebra" series:

https://www.youtube.com/watch?v=fNk_zzaMoSs&list=PLZHQObOWTQ...

by jpamata   2018-01-07
Coding the Matrix: Linear Algebra through Applications to Computer Science [0]

A hands on introduction to both Python and Linear Algebra using real world cases (ex. you are given a high res image, make a low res version to put on your website so that it could load more quickly).

[0] https://www.amazon.com/Coding-Matrix-Algebra-Applications-Co...

by carlosgg   2017-08-19
Starts on Page 2 at the bottom and moves up. Half of this course was taught on Coursera in 2013.

Book on Amazon, Kindle version $3: https://www.amazon.com/Coding-Matrix-Algebra-Applications-Co...