EconPapers    
Economics at your fingertips  
 

Sparse Matrices

Richard L. Branham
Additional contact information
Richard L. Branham: Jefe Area Matematicas y Del Centro Regional de Investigaciones Científicas y Tecnológicas

Chapter Chapter 3 in Scientific Data Analysis, 1990, pp 34-66 from Springer

Abstract: Abstract A matrix is sparse if a high percentage of its elements are zero. “High”, of course, is a relative term, but if about 50% or more of the elements are zero the matrix may be considered sparse. With this percentage of null elements, use of data structures other than the standard two-dimensional array may result in a substantial saving of space or execution time, space because the storage of the zero elements is suppressed and time because we do no operations with them. Consider scahng the columns of an n x n matrix A. Mathematically, we do this by postmultiplying A by a diagonal matrix S of scale factors, 3.1 $$A' = A \cdot S \cdot$$ But no sane programmer would store S as an n x n matrix. He would store it as a vector, thus using only n memory locations. Likewise, he would not use a matrix multiplication routine for the product A· S. He would multiply all of the elements in the first column of A by the first scale factor, the second column by the second scale factor, and so forth. In this way only n2 arithmetic operations, rather than n3 as with matrix multiphcation, would be needed.

Keywords: Hash Table; Triangular Matrix; Sparse Matrix; Sparse Matrice; Linear Search (search for similar items in EconPapers)
Date: 1990
References: Add references at CitEc
Citations:

There are no downloads for this item, see the EconPapers FAQ for hints about obtaining it.

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:spr:sprchp:978-1-4612-3362-6_3

Ordering information: This item can be ordered from
http://www.springer.com/9781461233626

DOI: 10.1007/978-1-4612-3362-6_3

Access Statistics for this chapter

More chapters in Springer Books from Springer
Bibliographic data for series maintained by Sonal Shukla () and Springer Nature Abstracting and Indexing ().

 
Page updated 2026-07-12
Handle: RePEc:spr:sprchp:978-1-4612-3362-6_3