CC_IO is a C++ library which reads and writes compressed column (CC) sparse matrix files.
An MxN sparse matrix of NCC nonzero entries in compressed column format is described by three items:
The nonzero entries of column J are stored in locations CCC(J) through CCC(J+1)-1 of ICC and ACC.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
CC_IO is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version.
CC, a data directory which contains examples of matrix stored in the compressed column (CC) format.
HB_IO, a C++ library which reads and writes sparse linear systems stored in the Harwell Boeing (HB) format for sparse matrices.
ST_IO, a C++ library which reads and writes sparse linear systems stored in the Sparse Triplet (ST) format.
CC_TO_ST, a C++ library which converts a sparse matrix from compressed column (CC) to sparse triple (ST) format.
Test #1 and #2 write and read back the information for the "simple" 5x5 matrix with 12 nonzero entries. There are files associated with this.
You can go up one level to the C++ source codes.