Computing N smallest eigenvalues of Sparse Matrix in Python
问题 I'd like to find the N smallest eigenvalues of a sparse matrix in Python. I've tried using the scipy.sparse.linalg.eigen.arpack package, but it is very slow at computing the smallest eigenvalues. I read somewhere that there is a shift-invert mode, but when I try using it, I receive an error message telling me that the shift-invert mode is not yet supported. Any ideas as to how I should proceed? 回答1: SciPy Versions Comparing the documentation of scipy.sparse.linalg.eigs from SciPy v0.9 with