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

Prev Next


Matrix-Vector multiply


int r, c;
double A[r*c], V[c], Y[r];
mvmpy( r, c, A, V, Y );


Multiply r (rows) by c (columns) matrix A on the left by column vector V of dimension c on the right to produce a (column) vector Y output of dimension r.