Michael Thomas Flanagan's Java Scientific Library

Matrix Multiplication Example

     

Last update: May 2005
Main Page of Michael Thomas Flanagan Java Scientific Library

MULTI-DIMENSIONED ARRAYS AND MATRIX MULTIPLICATION

The use of multi-dimensioned arrays and of this library's Matrix class are illustrated by three programs that perform the same matrix multiplication C = A.B
The example chosen is the multiplication of a 2 x 3 matrix by a 3 x 2 matrix to give a 2 x 2 matrix, i.e.



for the following values





This page was prepared by Dr Michael Thomas Flanagan