Matrix multiplication

A:

B:


Math form:
...
The algo:
...