Next: Sparse Matrices Examples, Previous: Sparse Matrices Compressed Format, Up: Sparse Matrices [Index]
The gsl_spmatrix
structure can be converted into the dense gsl_matrix
format and vice versa with the following routines.
This function converts the dense matrix A into sparse triplet format and stores the result in S.
This function converts the sparse matrix S into a dense matrix and stores the result in A. S must be in triplet format.