MM_IO
Matrix Market
Read and Write Utilities
MM_IO
is a MATLAB library which
reads and writes files in the Matrix Market file format.
Licensing:
The computer code and data files described and made available on this web page
are distributed under
the GNU LGPL license.
Languages:
MM_IO is available in
a C version and
a FORTRAN90 version and
a MATLAB version.
Related Data and Programs:
HB_IO,
a MATLAB library which
reads and writes
sparse matrices stored in the Harwell-Boeing format.
HB_TO_ST,
a FORTRAN77 program which
converts the sparse matrix information stored in a Harwell-Boeing
file into a sparse triplet file.
MM,
a data directory which
contains a description and
examples of the Matrix Market format for storing matrices.
MM_TO_HB,
a MATLAB program which
reads the sparse matrix information from a Matrix Market (MM) file
and writes a corresponding HB Harwell Boeing file.
MM_TO_MSM,
a MATLAB program which
reads a Matrix Market file defining a sparse matrix, and creates
a corresponding MATLAB sparse matrix data structure.
MM_TO_ST,
a MATLAB program which
reads the sparse matrix information from an MM Matrix Market file
and writes a corresponding ST Sparse Triplet file.
MSM_TO_MM,
a MATLAB program which
writes a MATLAB sparse matrix to a
Matrix Market file;
ST_TO_MM,
a MATLAB program which
converts a sparse matrix file from
ST format to
MM format (Matrix Market format);
TEST_MAT,
a MATLAB library which
defines various test matrices.
Reference:
-
http://math.nist.gov/MatrixMarket/
the Matrix Market web site.
-
Ronald Boisvert, Roldan Pozo, Karin Remington,
The Matrix Market Exchange Formats: Initial Design,
National Institute of Standards and Technology,
NISTIR 5935, December 1996,
Available online at
../../pdf/mm_format.pdf
Source Code:
Examples and Tests:
-
mm_io_test.m,
runs all the tests.
-
mm_io_test01.m,
tests MM_HEADER_WRITE.
-
mm_io_test01.mm,
the partial matrix file created by test #1.
-
mm_io_test02.m,
tests MM_HEADER_READ.
-
mm_io_test03.m,
tests MM_COMMENT_WRITE.
-
mm_io_test03.mm,
the partial matrix file created by test #3.
-
mm_io_test04.m,
tests MM_COMMENT_READ.
-
mm_io_test05.m,
tests MM_SIZE_WRITE.
-
mm_io_test05.mm,
the partial matrix file created by test #5.
-
mm_io_test06.m,
tests MM_SIZE_READ_FILE or MM_SIZE_READ_STRING.
-
mm_io_test07.m,
tests MM_VALUES_WRITE.
-
mm_io_test07.mm,
the matrix file created by test #7.
-
mm_io_test08.m,
tests MM_VALUES_READ.
-
mm_io_test09.m,
tests MM_FILE_WRITE.
-
mm_io_test09.mm,
the matrix file created by test #9.
-
mm_io_test10.m,
tests MM_FILE_READ.
-
mm_io_test_output.txt,
the output file.
-
matrix_05_05_crg.txt,
a 5 by 5 matrix in COORDINATE REAL GENERAL form read
by some routines, and written by others.
-
wathen_29_28_adg.txt,
a 29 by 29 matrix in ARRAY DOUBLE GENERAL form written by
one of the test routines.
You can go up one level to
the MATLAB source codes.
Last revised on 01 September 2005.