News for hackers. Stuff that matters.
Re:The Tensor Cookbook by thomasahle on Sunday February 02, 2025 @04:43AM (#42907529)
The Matrix Cookbook has a lot of useful formulas, but they don't have much explanation.

In the Tensor Cookbook I aim to show the same formulas using tensor diagrams, in a way that (hopefully) make them seem so obvious you don't even need the book afterwards.

Re:The Tensor Cookbook by chriskanan on Tuesday February 04, 2025 @11:39AM (#42934713)
That's a good point regarding the Matrix Cookbook. I didn't start using it until I'd already learned a lot of linear algebra and how to do matrix calculus by hand, so I didn't really need much of an explanation when I first discovered it in the 2000s.

In contrast, the Tensor Cookbook was my first introduction to tensor diagrams, so I didn't have any prior experience with them to lean on.

It certainly looks like a useful and powerful technique, but it seems like something that warrants almost a crash course in the topic with some exercises rather than just jumping in.

Re:The Tensor Cookbook by thomasahle on Wednesday February 05, 2025 @08:40AM (#42948329)
> It certainly looks like a useful and powerful technique, but it seems like something that warrants almost a crash course in the topic with some exercises rather than just jumping in.

I guess my personal crash course was writing a book on the topic. And a software library... Ironically this makes it harder for me to appreciate the level of explanation needed for others.

Thus I rely on people like you to tell me where the chain jumps off, so I can expand the sections. Please let me know what sections were too quickly skipped through!