hb_io


hb_io, a MATLAB code which reads and writes files in the Harwell Boeing sparse matrix format.

Note that the most common "flavor" of HB file is an assembled sparse matrix, but that there are some lesser used options, including storage of the matrix as unassembled finite element matrices, and corresponding storage of vectors. These secondary options are less well documented, and are only marginally supported in this package.

Licensing:

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

Languages:

hb_io is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version.

Related Data and Programs:

ccs_io, a MATLAB code which reads and writes sparse linear systems stored in the Compressed Column Storage (CCS) format.

dlap_io, a MATLAB code which reads and writes DLAP sparse matrix files;

hb, a dataset directory which contains a collection of sparse matrices in the HB format.

hb_io_test

hb_to_mm, a MATLAB code which converts a sparse matrix from Harwell-Boeing to Matrix Market format.

hb_to_msm, a MATLAB code which reads an HB file and converts the matrix to MATLAB's sparse matrix format.

hb_to_st, a MATLAB code which converts a sparse matrix from Harwell-Boeing to sparse triplet format.

hbsmc, a dataset directory which contains the Harwell Boeing Sparse Matrix Collection;

mm_io, a MATLAB code which reads and writes matrices in the Matrix Market format.

mm_to_hb, a MATLAB code which reads the sparse matrix information from an MM Matrix Market file and writes a corresponding HB Harwell Boeing file.

mxm_to_hb, a MATLAB code which takes a matrix in MATLAB's sparse matrix format and writes it out in the Harwell Boeing (HB) format.

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

st_to_hb, a MATLAB code which converts a sparse matrix file from ST format to Harwell Boeing (HB) format);

Reference:

  1. Iain Duff, Roger Grimes, John Lewis,
    User's Guide for the Harwell-Boeing Sparse Matrix Collection,
    October 1992.

Source Code:


Last revised on 27 January 2019.