mm_to_hb


mm_to_hb, an Octave code which reads the information stored in a Matrix Market (MM) file, and writes it to a corresponding Harwell-Boeing (HB) sparse matrix file.

It is conceivable that the Matrix Market file will include (unnecessary) information associated with zero entries of the matrix. MM_TO_HB will automatically drop such information from the Harwell-Boeing file that it creates.

Usage:

mm_to_hb ( 'input.mm', 'output.hb' )
where

Languages:

mm_to_hb is available in a MATLAB version and an Octave version.

Related Data and Programs:

mm_to_hb_test

hb, a data directory which contains examples of the Harwell Boeing (HB) sparse matrix file format;

hb_io, an Octave code which reads and writes sparse linear systems stored in the Harwell-Boeing (HB) Sparse Matrix format.

hb_to_mm, an Octave code which reads a Harwell Boeing (HB) sparse matrix file and writes a corresponding matrix market (MM) file.

hbsmc, a dataset directory which contains matrices stored in the Harwell-Boeing (HB) format.

mm, a data directory which contains examples of Matrix Market (MM) files for sparse matrices.

mm_io, an Octave code which reads and writes sparse linear systems stored in the Matrix Market (MM) format.

mm_to_msm, an Octave code which reads a Matrix Market file defining a sparse matrix, and creates a corresponding MATLAB sparse matrix (MSM) data structure.

mm_to_st, an Octave code which reads the sparse matrix information from a Matrix Market (MM) file and writes a corresponding Sparse Triplet (ST) file.

plasma_matrix, an Octave code which demonstrates how a MATLAB sparse matrix (MSM) can be written to or read from a Harwell-Boeing (HB) sparse matrix file.

Reference:

  1. Iain Duff, Roger Grimes, John Lewis,
    User's Guide for the Harwell-Boeing Sparse Matrix Collection,
    October 1992.
  2. Ronald Boisvert, Roldan Pozo, Karin Remington,
    The Matrix Market Exchange Formats: Initial Design,
    National Institute of Standards and Technology,
    NISTIR 5935, December 1996.
  3. https://math.nist.gov/MatrixMarket/, the Matrix Market web site.

Source Code:


Last revised on 04 June 2023.