Prev Next

mmmpy

Matrix-Matrix multiply

SYNOPSIS

int r, c;
double A[r*c], B[c*r], Y[r*r];
mmmpy( r, c, A, B, Y );

DESCRIPTION

Multiply an r (rows) by c (columns) matrix A on the left by a c (rows) by r (columns) matrix B on the right to produce an r by r matrix Y.