HB_TO_MSM
Harwell Boeing Sparse Matrix File
converted to
Matlab Sparse Matrix
HB_TO_MSM
is a MATLAB program which
accepts the name of
a file containing a sparse matrix in the
Harwell Boeing Sparse Matrix File Format, and which reads
that data and returns it as a MATLAB sparse matrix.
Licensing:
The computer code and data files described and made available on this web page
are distributed under
the GNU LGPL license.
Related Data and Programs:
HB,
a dataset directory which
contains a collection of sparse matrices in the HB format.
HB_IO,
a MATLAB library which
reads and writes Harwell-Boeing files, used by HB_TO_MSM.
HB_TO_MM,
a MATLAB program which
converts a sparse matrix from Harwell-Boeing to Matrix Market format.
HB_TO_ST,
a MATLAB program which
converts a sparse matrix from Harwell-Boeing to sparse triplet format.
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.
MSM_TO_HB,
a MATLAB program which
converts a MATLAB sparse matrix into a Harwell-Boeing file.
ST_TO_MSM,
a MATLAB program which
reads an ST sparse triplet file
and creates a corresponding MATLAB Sparse Matrix.
TEMPLATES,
a MATLAB library which
carries out simple versions of various iterative solvers.
Reference:
-
Iain Duff, Roger Grimes, John Lewis,
User's Guide for the Harwell-Boeing Sparse Matrix Collection,
October 1992.
Source Code:
-
ch_cap.m,
returns the uppercase version of a character.
-
ch_eqi.m,
determines whether two characters are the same, ignoring case.
-
ch_is_digit.m,
determines whether a character is a digit.
-
ch_is_format_code.m,
determines whether a character is a one letter FORTRAN format code.
-
ch_to_digit.m,
converts a character to the digit it represents.
-
hb_exact_read.m,
reads the exact solution vectors of an HB file.
-
hb_file_read.m,
reads an HB file.
-
hb_guess_read.m,
reads the starting guess vectors of an HB file.
-
hb_header_read.m,
reads the header of an HB file.
-
hb_rhs_read.m,
reads the right hand sides of an HB file.
-
hb_structure_read.m,
reads the structure of an HB file.
-
hb_to_msm.m,
reads an HB file and creates a MATLAB Sparse Matrix.
-
hb_values_read.m,
reads the values of an HB file.
-
s_len_trim.m,
determines the length of a string to the last nonblank.
-
s_to_format.m,
extracts information from a string representing a FORTRAN format.
-
s_to_i4.m,
converts a string to an I4.
-
s_to_r8.m,
converts a string to an R8.
-
timestamp.m,
prints the current YMDHMS date as a timestamp.
Examples and Tests:
You can go up one level to
the MATLAB source codes.
Last revised on 02 November 2008.