sparsematrix
A sparse matrix is a matrix in which the majority of elements are zero. Such matrices occur frequently in representations of graphs, discretized physical systems, and high-dimensional data with many missing or irrelevant values. To save memory and speed up computation, sparse matrices are stored using formats that record only nonzero entries and their positions.
Common storage schemes include the coordinate list (COO), which stores triplets (row, column, value) for each
Operations on sparse matrices aim to scale with the number of nonzero elements (nnz), rather than the
Applications include solving large sparse linear systems and eigenvalue problems, finite element analysis, network and graph