You are viewing a single comment's thread. Return to all comments →
a = [1, 2], [2, 3] b = [4, 5], [7, 8] res = 0 for i in range(2): for j in range(2): for k in range(2): res += a[i][k]*b[k][j] print(res) res = 0
Seems like cookies are disabled on this browser, please enable them to open this website
Linear Algebra Foundations #3- Matrix Multiplication
You are viewing a single comment's thread. Return to all comments →