ST_IO
Read and Write Sparse Triplet (ST) Matrix Files.
ST_IO
is a C++ library which
reads and writes files in the Sparse Triplet (ST) format
used for storing sparse matrices.
Licensing:
The computer code and data files described and made available on this web page
are distributed under
the GNU LGPL license.
Languages:
ST_IO is available in
a C version and
a C++ version and
a FORTRAN90 version and
a MATLAB version and
a Python version.
Related Data and Programs:
CC_IO,
a C++ library which
reads and writes sparse linear systems
stored in the Compressed Column (CC) format.
CC_TO_ST,
a C++ library which
converts a sparse matrix from compressed column (CC)
to sparse triple (ST) format.
HB_IO,
a C++ library which
reads and writes sparse linear systems stored in the Harwell Boeing (HB)
format for sparse matrices.
ST,
the format which
is used for the input to this program.
ST_TO_CC,
a C++ library which
converts sparse matrix data from Sparse Triplet (ST) format
to Compressed Column (CC) format.
Source Code:
Examples and Tests:
List of Routines:
-
I4_MAX returns the maximum of two I4's.
-
I4_MIN returns the minimum of two I4's.
-
I4VEC_DEC decrements an I4VEC.
-
I4VEC_INC increments an I4VEC.
-
I4VEC_MAX returns the value of the maximum element in an I4VEC.
-
I4VEC_MIN returns the value of the minimum element in an I4VEC.
-
SORT_HEAP_EXTERNAL externally sorts a list of items into ascending order.
-
R8ST_DATA_READ reads the data of an R8ST file.
-
R8ST_HEADER_PRINT prints the header of an R8ST file.
-
R8ST_HEADER_READ reads the header of an R8ST file.
-
R8ST_PRINT prints a sparse matrix in R8ST format.
-
R8ST_PRINT_SOME prints some of a sparse matrix in R8ST format.
-
R8ST_SORT_A sorts the entries of an R8ST matrix by column.
-
R8ST_TRANSPOSE transposes an R8ST matrix.
-
R8ST_WRITE writes an R8ST file.
-
TIMESTAMP prints the current YMDHMS date as a time stamp.
You can go up one level to
the C++ source codes.
Last revised on 26 September 2018.