- #1
mikeph
- 1,235
- 18
hi simple computation
A = 60x60x100
B = 60x60x30
I want to find A*B, by this I mean, I want a 100x30 output matrix where element (k,m) represents the sum of A(i,j,k)*B(i,j,m) over all i,j
My brain is simply not working and I'm confusing myself, does anyone have a short line of code to calculate this sum?
A = 60x60x100
B = 60x60x30
I want to find A*B, by this I mean, I want a 100x30 output matrix where element (k,m) represents the sum of A(i,j,k)*B(i,j,m) over all i,j
My brain is simply not working and I'm confusing myself, does anyone have a short line of code to calculate this sum?