[SciPy-user] eigenvalues of sparse matrix

Robert Kern rkern at ucsd.edu
Tue Nov 16 18:09:42 EST 2004


Nick Arnett wrote:
> David Grant wrote:
> 
>> Sorry, another sparse question: Is there anything is scipy which can 
>> find the eigenvalues and eigenvectors of a sparse matrix?
> 
> 
> Having read all the followups, it seems to me that I must be asking a 
> dumb question -- but won't linalg.svd do this?
> 
> Begging for education, really...

An SVD is not the same as an eigen decomposition.

http://mathworld.wolfram.com/EigenDecomposition.html
http://mathworld.wolfram.com/SingularValueDecomposition.html

In any case, all of the linalg.* functions only operate on dense arrays, 
not sparse matrices.

-- 
Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter




More information about the SciPy-User mailing list