MXM
Matrix-Matrix Multiplication Timings


MXM is a MATLAB program which sets up a matrix-matrix multiplication problem A = B * C, and carries it out using

The user is allowed to specify N1, N2, and N3, which define the matrix sizes.

Usage:

mxm n1 n2 n3
where

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Languages:

MXM is available in a C version and a C++ version and a FORTRAN77 version and a FORTRAN90 version and a MATLAB version.

Related Data and Programs:

LINPACK_BENCH, a MATLAB program which measures the time needed to factor and solve a "large" (N=1000) dense linear system of equations, and is used as a benchmark.

MXV, a MATLAB program which compares the performance of (DO I, DO J) loops, (DO J, DO I ) loops, and MATMUL for computing the product of an MxN matrix A and an N vector X.

SUM_MILLION, a MATLAB program which sums the integers from 1 to 1,000,000, as a demonstration of how to rate a computer's speed;

TIMER, MATLAB programs which demonstrate how to compute CPU time or elapsed time.

Reference:

  1. John Burkardt, Paul Puglielli,
    Pittsburgh Supercomputing Center,
    MATMUL: An Interactive Matrix Multiplication Benchmark

Source Code:

You can go up one level to the MATLAB source codes.


Last revised on 08 October 2010.