hb_to_st_test, a Fortran90 code which calls hb_to_st(), which reads the definition of a sparse matrix from a file in Harwell-Boeing format, and writes the information into a Sparse Triplet file.
The computer code and data files described and made available on this web page are distributed under the MIT license
hb_to_st, a Fortran90 code which reads the definition of a sparse matrix from a file in Harwell-Boeing format, and writes the information into a Sparse Triplet file.
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
You can go up one level to the Fortran90 source codes.