MultM (FUN)ΒΆ
FUNCTION MultM : ResultCode
Multiplication of matrices: C := A*B + C.
C must be an (m x n) matrix, A an (m x p) matrix and B an (p x n) matrix
for suitable positive integers m, n, and p.
Note: C must be distinct from A and B.
Since matrices are stored in row-major form,
we use the ikj form of the multiplication to achieve unit stride for all
accesses in the inner loop.
- InOut:
Scope
Name
Type
Comment
Return
MultMInout
CThe result matrix (in/out)
AThe left hand side
BThe right hand side