Next: Conversion between sparse and dense matrices, Previous: Finding maximum and minimum elements of sparse matrices, Up: Sparse Matrices [Index]
GSL supports the compressed column format, in which the non-zero elements in each column are stored contiguously in memory.
This function creates a sparse matrix in compressed column format from the input sparse matrix T which must be in triplet format. A pointer to a newly allocated matrix is returned. The calling function should free the newly allocated matrix when it is no longer needed.