Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next


Matrix-Matrix multiply


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


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.