Embed presentation
Downloaded 38 times



A sparse matrix is a matrix with mostly zero elements, where a dense matrix has mostly non-zero elements. The sparsity of a sparse matrix is the percentage of zero elements it contains. Sparse matrices can save substantial memory by only storing the locations and values of non-zero elements, using formats like compressed row storage that use three one-dimensional arrays.

