I would like to know if there is a way to multiply multiple matrices as a chain.
Let’s say I have matrices M1, M2, … M23, and I want to do:
M1 @ M2 @ M3 @ ... @ M23.
I see only a for loop or a recursive function for that … that wouldn’t be very effective I guess.
Any suggestions ?