###
Hacker News Comments on

Coding the Matrix: Linear Algebra through Applications to Computer Science

·
10
HN comments
*HN Books has aggregated all Hacker News stories and comments that mention "Coding the Matrix: Linear Algebra through Applications to Computer Science" by Philip N. Klein.*

**Amazon Summary**

**HN Books Rankings**

- This course is unranked · view top recommended courses

#### Hacker News Stories and Comments

*All the comments and stories posted to Hacker News that reference this book.*

Depending on your background and intentions, you might like:Savov: https://www.amazon.com/No-bullshit-guide-linear-algebra/dp/0...

Strang: https://www.amazon.com/Linear-Algebra-Learning-Gilbert-Stran...

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

I think the pacing and exercises in the above Strang book are great.

⬐ thraxilI'll second Strang. I recently re-read his Introduction to Linear Algebra and was struck with how clearly he explains things compared to most other math textbooks (which I've been reading a lot of lately).

There used to be a Coursera course calledCoding 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...

⬐ happy-go-luckyAll of the course's video lectures are still available at:https://www.youtube.com/channel/UCGVa4wp8SWGFtMe6hcdpHlg/pla...

⬐ pdm55slides https://codingthematrix.com/

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: http://codingthematrix.com

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

⬐ vasili111The course is available here: http://academictorrents.com/details/54cd86f3038dfd446b037891...It is legal, not a pirated version.

⬐ nelsotsThat was a great course! I'm glad it's still accessible. I was not aware of this resource for courses. There was a fantastic course on probability from the University of Pennsylvania that disappeared when Coursera went through a change a few years ago. Maybe I can find that one there too. Thanks for the link.⬐ nafizhDid you find the Upenn course on probability? I have been looking for it for a long time. The professor was absolutely brilliant.

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://cs.brown.edu/video/channels/coding-matrix-fall-2014/

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...

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...

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

The texts that I hate least (LA and I have a long and rocky relationship):- Coding the Matrix, Klein https://www.amazon.com/Coding-Matrix-Algebra-Applications-Co... This has a strong emphasis on LA's utility in CS, and includes concepts outside traditional LA that enrich the narrative.

- Intro to Linear Algebra, Strang https://www.amazon.com/Introduction-Linear-Algebra-Gilbert-S... Strang approaches LA from a practical less-theoretical angle, which makes it very sensible if you're an engineer but may not be as suitable if you're a mathematician.

- Linear Algebra, A Modern Intro, Poole https://www.amazon.com/Linear-Algebra-Introduction-Available... This is a solid text that has worked out most of its bugs over the editions.

- Linear Algebra and its Applications, Lay https://www.amazon.com/Linear-Algebra-Applications-Updated-C... Like Poole, this is also a solid and long running text.

The books by Klein and Strang also benefit from free videos of those courses that are available from Coursera/BrownU and MIT OCW. Klein's is also available on the Kindle.

⬐ ComputerGuruThanks for taking the time to write that out. I'll check them out.

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...

While I did take courses in probability, linear algebra, and lots of calculus, until recently, I forgot most of the probability and all of the linear algebra I learned in school. As for calculus, I only remembered how to take basic derivatives. In any case, I've been spending the past month brushing up on my linear algebra and probability, and it's been a struggle, but now that I'm motivated and under no time pressure to relearn the material, I find it way more fascinating than I did in college. In fact, I skipped tons of my linear algebra classes because I thought the subject was dry and dull. I also rushed through my probability and stats homework just so I could get a good grade on them. I think if you're motivated, and you can do basic math, you should be able to educate yourself in calculus, probability, and linear algebra. It'll be a struggle, but with motivation, you'll be able to pick up the concepts.for probability and stats: https://www.amazon.com/Introduction-Probability-2nd-Dimitri-...

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

this was my college calculus textbook: https://www.amazon.com/Calculus-7th-James-Stewart/dp/0538497.... I can't comment if it was good or not because by college, I had taken calculus twice so it was all a refresher

best of luck! You sound educated enough (yes, I'm judging from the couple sentences you wrote) that I think you won't have any problems acquiring math knowledge with persistence.

My favorite LA books are Linear Algebra by Friedberg/Insel[0] which is a combination of Axler style book with more computation oriented one (Terry Tao has a set of lectures based off this book). Another one I like is Modern Intro To LA by Henry Ricardo[1] which implicitly introduced me to Replacement theorem which is really overlooked in a ton of LA books. Again, this book's a rigorous mixture of both theory and computation done very well. If you've never seen higher level math before, there's Linear Algebra: Gateway to Mathematics by Robert Messer[2]. It has tons of commentary about elementary set theory and proof techniques along the way. Whenever someone mentions Axler's book, someone else brings up Treil's book. But there's a third one in the same league/group which is Linear Algebra: An Introduction to Abstract Mathematics by Robert Valenza[3]. Other favorites are Coding the Matrix by Philip Klein[4] for Python aficionados and Linear Algebra Through Geometry by Banchoff/Wermer[5] for those who like geometry.If you are way beyond all this, you can still pick up new things from Advanced Linear Algebra by Steven Roman[6].

[0] https://www.amazon.com/Linear-Algebra-Stephen-H-Friedberg-eb...

[1] https://www.amazon.com/Modern-Introduction-Linear-Algebra/dp...

[2] https://www.amazon.com/Linear-Algebra-Mathematics-Robert-Mes...

[3] https://www.amazon.com/Linear-Algebra-Introduction-Mathemati...

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

[5] https://www.amazon.com/Algebra-Through-Geometry-Undergraduat...

[6] https://www.amazon.com/Advanced-Linear-Algebra-Graduate-Math...

⬐ dman+1 for counting from zero⬐ sn9Seconding Klein'sCoding the Matrix. It's a great alternative introduction and actually implementing linear algebra ideas in Python is both useful and a great aid for learning.The auto-grader is helpful for making sure you got the right solutions.