mxm


mxm, a C++ code 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 information on this web page is distributed under the MIT 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 and an Octave version and a Python version.

Related Data and codes:

mxm_test

linpack_bench, a C++ code which measures the time needed to factor and solve a large (N=1000) dense linear system of equations, and is used as a benchmark.

sum_million, a C++ code which sums the integers from 1 to 1,000,000, as a demonstration of how to rate a computer's speed;

timer_test, a C++ code which demonstrates 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:


Last revised on 31 October 2024.