mgmres, a MATLAB code which applies the restarted Generalized Minimum Residual (GMRES) algorithm to solve a sparse linear system, using compressed row storage (CRS) or sparse triplet (ST) format, by Lili Ju.
One matrix format used is the ST or "sparse triplet" format, which simply stores NZ_NUM, the number of nonzeros, and stores the K-th nonzero matrix entry as
Another matrix format used is the CRS or "compressed row storage" format, which is similar to the sparse triplet format except that it the vector of row indices is compressed to a vector of length N+1 which points to the beginning of the set of entries for each row.
The computer code and data files described and made available on this web page are distributed under the MIT license
mgmres is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version.
cg_rc, a MATLAB code which implements the conjugate gradient method for solving a positive definite sparse linear system A*x=b, using reverse communication.
crs, a data directory which contains examples of the Compressed Row Storage (CRS) sparse matrix file format;
crs_io, a MATLAB code which reads and writes sparse linear systems stored in the Compressed Row Storage (CRS) format.
hbsmc, a dataset directory which contains a collection of large sparse matrices stored in the Harwell-Boeing format.
kelley, a MATLAB code which implements iterative methods for linear and nonlinear equations, by Tim Kelley;
mm, a data directory which contains a description and examples of the Matrix Market format for storing matrices.
st, a data directory which contains a description and examples of the ST format for storing sparse matrices.
st_io, a MATLAB code which reads and writes sparse linear systems stored in the Sparse Triplet (ST) format.
test_mat, a MATLAB code which defines test matrices.
Original C version by Lili Ju, Mathematics Department, University of South Carolina; Matlab version by John Burkardt.