hb_io_test
hb_io_test,
an Octave code which
calls hb_io(), which
reads and writes files in the
Harwell Boeing (HB) sparse matrix format.
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_io,
an Octave code which
reads and writes sparse linear systems stored in the Harwell Boeing (HB)
format for sparse matrices. This library is intended to handle the
full range of HB formats.
Source Code:
-
hb_io_test01.m,
tests HB_HEADER_READ.
-
hb_io_test02.m,
tests HB_HEADER_WRITE.
-
hb_io_test03.m,
tests HB_STRUCTURE_READ.
-
hb_io_test04.m,
tests HB_STRUCTURE_WRITE.
-
hb_io_test05.m,
tests HB_VALUES_READ.
-
hb_io_test06.m,
tests HB_VALUES_WRITE.
-
hb_io_test07.m,
tests HB_RHS_READ, HB_GUESS_READ, HB_EXACT_READ.
-
hb_io_test08.m,
tests HB_RHS_WRITE, HB_GUESS_WRITE, HB_EXACT_WRITE.
-
hb_io_test09.m,
tests HB_FILE_READ.
-
hb_io_test10.m,
tests HB_FILE_WRITE.
-
hb_io_test11.m,
tests HB_MATVEC_A_MEM.
-
hb_io_test12.m,
tests HB_VECMAT_A_MEM.
Data files you may copy include:
-
rse_5.txt,
a sample HBSMC symmetric unassembled "element" matrix file.
-
rua_32.txt,
a sample HBSMC unsymmetric assembled sparse matrix file.
-
rua_32_file.txt,
a full version of "rua_32.txt" written by HB_FILE_WRITE.
-
rua_32_header.txt,
the header of "rua_32.txt" written by HB_HEADER_WRITE.
-
rua_32_rhs.txt,
the headers, structure, values and right hand side of
"rua_32.txt".
-
rua_32_structure.txt,
the headers and structure of "rua_32.txt".
-
rua_32_values.txt,
the headers, structure, and values of "rua_32.txt".
-
rua_32_ax.txt,
a sample HBSMC unsymmetric assembled sparse matrix file,
with exact solutions, and two right hand side vectors
computed from the exact solutions by calling HB_MATVEC_A_MEM.
Last revised on 27 January 2019.