Elementary sparse matrices, reordering algorithms, iterative methods, sparse linear algebra
Sparse matrices provide efficient storage of double orlogical data that has a large percentage of zeros. While_full_ (or dense) matrices store every single element in memory regardless of value, sparse matrices store only the nonzero elements and their row indices. For this reason, using sparse matrices can significantly reduce the amount of memory required for data storage.
All MATLAB® built-in arithmetic, logical, and indexing operations can be applied to sparse matrices, or to mixtures of sparse and full matrices. Operations on sparse matrices return sparse matrices and operations on full matrices return full matrices. For more information, seeComputational Advantages of Sparse Matrices and Constructing Sparse Matrices.
Iterative Methods for Linear Systems One of the most important and common applications of numerical linear algebra is the solution of linear systems that can be expressed in the form A*x = b.
Sparse Matrix Reordering This example shows how reordering the rows and columns of a sparse matrix can influence the speed and storage requirements of a matrix operation.