4 ms·
Matrix chain multiplication was added to NumPy recently, see numpy.linalg.multi_dot: https://docs.scipy.org/doc/numpy-1.13.0/reference/generated/numpy.linalg.mu
by shoyer 9y ago
Matrix chain multiplication was added to NumPy recently, see numpy.linalg.multi_dot:
https://docs.scipy.org/doc/numpy-1.13.0/reference/generated/numpy.linalg.multi_dot.html https://docs.scipy.org/doc/numpy-1.13.0/reference/generated/...
- ris 9y agoHooray! Still, it's not exactly transparent in a way that you could get with lazy array evaluation.