HB_TO_ST
Harwell-Boeing => Sparse Triplet Format


HB_TO_ST is an executable FORTRAN77 program, using double precision arithmetic, which reads the definition of a sparse matrix from a file in Harwell-Boeing format, and writes the information into a Sparse Triplet file.

Usage:

hb_to_st < hb.file > st.file
reads the sparse matrix information from the Harwell-Boeing file hb.file and writes it to the sparse triplet format file st.file.

Related Data and Programs:

CSPARSE is a set of C routines for the direct solution of sparse linear systems.

DLAP is a set of FORTRAN90 routines for solving sparse linear systems.

HB is a data directory which contains examples and a description of the Harwell-Boeing sparse matrix format.

HB_IO is a set of FORTRAN90 routines for reading and writing sparse linear systems stored in the Harwell-Boeing Sparse Matrix format.

HB_TO_MSM is a MATLAB routine which reads a Harwell-Boeing file describing a sparse matrix and defines a corresponding MATLAB sparse matrix.

MM_IO is a set of FORTRAN90 routines for reading and writing sparse linear systems stored in the Matrix Market format.

NSPCG is a library of FORTRAN90 routines for nonsymmetric preconditioned conjugate gradient methods applied to sparse matrices.

SPARSE is a built-in MATLAB function for defining sparse matrices.

SPARSEKIT is a library of FORTRAN90 routines by Yousef Saad for sparse matrix operations.

SPARSEPAK is a library of FORTRAN90 routines that form an obsolete version of the Waterloo Sparse Matrix Package.

ST is a data directory which contains examples and a description of the Sparse Triplet sparse matrix format.

Reference:

  1. Timothy Davis,
    Direct Methods for Sparse Linear Systems,
    SIAM, Philadelphia, 2006.

Source Code:

Examples and Tests:

5BY5 is a simple 5 by 5 matrix:

        1.1  0.0  0.0  1.4  0.0
        0.0  2.2  0.0  0.0  0.0
        3.1  3.2  3.3  3.4  3.5
        0.0  0.0  0.0  4.4  4.5
        5.1  5.2  0.0  0.0  5.5
      

KERSHAW is a simple 4 by 4 matrix:

         3  -2   0   2
        -2   3  -2   0
         0  -2   3  -2
         2   0  -2   3
      

List of Routines:

You can go up one level to the FORTRAN77 source codes.


Last revised on 10 March 2006.