Paper record

W2007259720

Sparse Matrices in MATLAB: Design and Implementation

John R. Gilbert, C Moler, Robert Schreiber

Year
1992
Venue
SIAM Journal on Matrix Analysis and Applications
References
17
Cited by
721

Details and counts from OpenAlex.

Abstract

The matrix computation language and environment MATLAB is extended to include sparse matrix storage and operations. The only change to the outward appearance of the MATLAB language is a pair of commands to create full or sparse matrices. Nearly all the operations of MATLAB now apply equally to full or sparse matrices, without any explicit action by the user. The sparse data structure represents a matrix in space proportional to the number of nonzero entries, and most of the operations compute sparse results in time proportional to the number of arithmetic operations on nonzeros.