Live data from Hacker News

Special Linear Systems and Cholesky Factorization for Programmers

dragan.rocks

1–10 of 23 posts

Re: Special Linear Systems and Cholesky Factorization for Programmers

#2
Part 1: http://dragan.rocks/articles/17/Clojure-Numerics-1-Use-Matri...

Part 2: http://dragan.rocks/articles/17/Clojure-Numerics-2-General-L...

Linear Algebra Refresher:

http://dragan.rocks/articles/17/Clojure-Linear-Algebra-Refre...

http://dragan.rocks/articles/17/Clojure-Linear-Algebra-Refre...

http://dragan.rocks/articles/17/Clojure-Linear-Algebra-Refre...

http://dragan.rocks/articles/17/Clojure-Linear-Algebra-Refre...

Re: Special Linear Systems and Cholesky Factorization for Programmers

#3
This is awesome. I can't wait until the future when we'll get more informal blog posts from programmers about even more abstract subjects which thus far are dominated in exposition by academics (who very rarely innovate in how they present the material). The day I see a good engineer-style post on HN about sheaf theory or algebraic geometry will be amazing.

Re: Special Linear Systems and Cholesky Factorization for Programmers

#4
post #2

Part 1: http://dragan.rocks/articles/17/Clojure-Numerics-1-Use-Matri... Part 2: http://dragan.rocks/articles/17/Clojure-Numerics-2-General-L... Linear Algebra Refresher: http://dragan.rocks/articles/17/Clojure-Linear-Algebra-Refre... http://dragan.rocks/articles/17/Clojure-Linear-Algebra-Refre... http://dragan.rocks/articles/17/Clojure-Linear-Algebra-Refre... http://dragan.rocks/articles/17/Clojure-Linear-Algebra-Ref…

And the source of the library used: https://github.com/uncomplicate/neanderthal

Re: Special Linear Systems and Cholesky Factorization for Programmers

#5
post #3

This is awesome. I can't wait until the future when we'll get more informal blog posts from programmers about even more abstract subjects which thus far are dominated in exposition by academics (who very rarely innovate in how they present the material). The day I see a good engineer-style post on HN about sheaf theory or algebraic geometry will be amazing.

Author here. I hope I won't spoil the future, since I work at a university, but I am also a programmer, and these libraries and tutorials have been made to be 100% practical with the working programmers as the target audience.

Re: Special Linear Systems and Cholesky Factorization for Programmers

#7
post #6

Since LAPACK is an excellent library for these matrix functions, why not use it, and translate it to Clojure instead of reinventing the wheel? (There's also a translator from Fortran to C).

Because JVM does not have access to the hardware features needed to execute this efficiently. Also, the power of lapack comes from existing highly tuned implementations, not the interface itself. Reference BLAS and LAPACK are actually quite slow.

Re: Special Linear Systems and Cholesky Factorization for Programmers

#9
post #2

Part 1: http://dragan.rocks/articles/17/Clojure-Numerics-1-Use-Matri... Part 2: http://dragan.rocks/articles/17/Clojure-Numerics-2-General-L... Linear Algebra Refresher: http://dragan.rocks/articles/17/Clojure-Linear-Algebra-Refre... http://dragan.rocks/articles/17/Clojure-Linear-Algebra-Refre... http://dragan.rocks/articles/17/Clojure-Linear-Algebra-Refre... http://dragan.rocks/articles/17/Clojure-Linear-Algebra-Ref…

For linear algebra basics, I also especially recommend 3Blue1Brown's youtube channel and his "Essence of" series:

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

I've never seen the material presented more clearly - it's completely visual and focused on building intuition first.

Post reply on HN