this post was submitted on 22 May 2025
11 points (100.0% liked)
dynomight internet forum
80 readers
2 users here now
dynomight internet forum
founded 11 months ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Along the same vein, could we just move entirely to Einstein summation? It seems like your solution is 90% there.
I assume there is a good reason why you didn't
Well, Einstein summation is good, but it only does multiplication and sums. (Or, more generally, some scalar operation and some scalar reduction.) I want a notation that works for ANY type of operation, including non-scalar ones, and that's what DumPy does. So I'd argue it moves further than Einstein summation.
I knew there was a reason lol