spectra icon indicating copy to clipboard operation
spectra copied to clipboard

Getting the eigen values/vectors following a threshold

Open XL64 opened this issue 4 years ago • 2 comments

Hello,

I would like to get largest eigen values of a given eigen problem (eg. L-1DL-t) following a threshold. I'm currently computing it using a overestimated number of eigen values request and truncating it but it cost much to compute more eigen values than needed.

XL.

XL64 avatar May 14 '20 11:05 XL64

Currently this is not easy to do with Spectra. What you can try is to first compute a few eigenvalues and then test the threshold. If you need more, remove the space of computed eigenvectors from the original matrix, and then compute the next few eigenvalues.

yixuan avatar May 19 '20 02:05 yixuan

Thanks for the answer.

XL64 avatar Jul 13 '20 09:07 XL64