News for hackers. Stuff that matters.
Re:Notational Intelligence by jka on Sunday January 09, 2022 @06:40AM (#29862414)
Thank you - I struggle to have a more meaningful mental model of matrices than "int[][]" but I'll read up on this. There are a bunch of cases where I've felt intuitively that "this should be solved with numpy using matrices" -- perhaps time to learn some of that in more detail.

(could you add a bit more detail about any notation in particular that was useful? I see the matrix direct product symbol and have a vague initial understanding of that and block matrices)

Re:Notational Intelligence by nestorD on Sunday January 09, 2022 @12:56PM (#29865666)
Part 2 to 6 of the paper explains the elements of notation I used.

The algorithm I wrote had to do with both the usual matrix product and the kronecker product (in short it lets you compute the Kronecker product of several matrices together time a given matrix much more efficiently and with a significantly lower memory usage).

The notation was useful to me as it surfaces the property Wikipedia describes in the "Matrix Equation" [0] section on the Kronecker product and makes it intuitive.

[0]: https://en.wikipedia.org/wiki/Kronecker_product#Matrix_equat...