home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky sci.math:17440 sci.engr:2421
- Path: sparky!uunet!spool.mu.edu!umn.edu!gaia.ucs.orst.edu!news.cs.indiana.edu!nstn.ns.ca!psinntp!psinntp!kepler1!andrew
- From: andrew@rentec.com (Andrew Mullhaupt)
- Newsgroups: sci.math,sci.engr
- Subject: Re: Question about "sparsity" of matrices
- Message-ID: <1434@kepler1.rentec.com>
- Date: 27 Dec 92 16:19:43 GMT
- References: <24DEC199211261595@ariel.lerc.nasa.gov>
- Followup-To: sci.math
- Organization: Renaissance Technologies Corp., Setauket, NY.
- Lines: 27
-
- In article <24DEC199211261595@ariel.lerc.nasa.gov> ecaxron@ariel.lerc.nasa.gov (Ron Graham) writes:
- >I ask your pardon if this question is too simple, or if the subject has
- >been discussed already. I am posting this question to two newsgroups,
- >one of which I do not currently subscribe to.
- >
- >Is there a measure for the "sparsity" (or maybe I should say "sparseness"?)
- >of a matrix? We know that a sparse matrix has a lot of zeroes in it. But
- >who decides when the matrix is sparse? Are there degrees of sparseness?
-
- A matrix may be usefully considered sparse if so many of it's elements
- are zero that it pays to keep track of the nonzero elements only, and this
- obviously depends on what kind of operations you are doing. A simple measure
- closely related to this is the fraction of nonzero elements, and another
- similarly notion of sparsity is for families of matrices, i.e. some people
- consider a family of matrices to be sparse when the fraction of nonzero
- elements tends to zero as the size of the matrix tends to infinity.
-
- There are other important exploitable structures for matrices, which can
- be observed in sparse matrices. Most important are polydiagonal and band
- matrices, and then block polydiagonal matrices. Special algorithms and
- data structures are used to exploit sparseness in each case.
-
- So the bottom line is that _you_ get to decide what sparseness is by
- showing how to exploit it.
-
- Later,
- Andrew Mullhaupt
-