HB_TO_ST
Harwell-Boeing => Sparse Triplet Format


HB_TO_ST is a FORTRAN90 program 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
where

Licensing:

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

Languages:

HB_TO_ST is available in a FORTRAN90 version and a MATLAB version.

Related Data and Programs:

DLAP_IO, a FORTRAN90 library which reads and writes DLAP sparse matrix files;

DSP_TO_ST, a FORTRAN90 program which converts a sparse matrix file from DSP format (one-based indices) to ST format (zero-based indices);

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

HB_IO, a FORTRAN90 library which reads and writes sparse linear systems stored in the Harwell-Boeing Sparse Matrix format.

HB_READ, a FORTRAN90 library which reads files in the Harwell Boeing (HB) sparse matrix format; This is a simplified interface intended to handle only the most common format, complex unsymmetric assembled (CUA) or real unsymmetric assembled (RUA).

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

MM_IO, a FORTRAN90 library which reads and writes sparse linear systems stored in the Matrix Market format.

NSPCG, a FORTRAN90 library which applies nonsymmetric preconditioned conjugate gradient methods to sparse linear systems.

SPARSEKIT, a FORTRAN90 library which is used for sparse matrix operations, by Yousef Saad.

SPARSEPAK, a FORTRAN90 library which forms an obsolete version of the Waterloo Sparse Matrix Package.

ST, a data directory which contains examples of ST files, the Sparse Triplet format, a sparse matrix file format, storing just (I,J,A(I,J)), and using zero-based indexing.

ST_IO, a FORTRAN90 library which reads and writes sparse linear systems stored in the ST "sparse triplet" Sparse Matrix format.

ST_TO_DSP, a FORTRAN90 program which converts a sparse matrix file from ST forma (zero-based indices) to DSP format (one-based indices);

ST_TO_HB, a FORTRAN90 program which converts a sparse matrix file from Sparse Triplet (ST) format to Harwell Boeing (HB) format;

Reference:

  1. Timothy Davis,
    Direct Methods for Sparse Linear Systems,
    SIAM, Philadelphia, 2006.
  2. Iain Duff, Roger Grimes, John Lewis,
    User's Guide for the Harwell-Boeing Sparse Matrix Collection,
    October 1992.
  3. Iain Duff, Roger Grimes, John Lewis,
    The Rutherford-Boeing Sparse Matrix Collection,
    Technical Report RAL-TR-97-031,
    Rutherford Appleton Laboratory, 1997.

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 FORTRAN90 source codes.


Last revised on 31 October 2008.