0

I am trying to find 100 eigen values and vectors of a huge sparse matrix of size 409600x409600. I am using scipy.sparse.linalg.eigs for this and it's taking ages to find the result whereas eigs on matlab solves it within 10 mins.Any suggestions on how to speed it up?

Python:

eigenvectors, eigenvalues = scipy.sparse.linalg.eigs(Laplacian, k=100, which='SM')

Matlab:

eigCnt = 100; [eigenvectors, eigenvalues] = eigs(Laplacian, eigCnt, 'SM');

where Laplacian is a sparse matrix of size 409600x409600 with 10418204 non zero entries `

S Chakraborty
  • 144
  • 2
  • 8

0 Answers0