lebedov / scikit-cuda

Python interface to GPU-powered libraries
http://scikit-cuda.readthedocs.org/
Other
986 stars 179 forks source link

eigsh #298

Open Kreol64 opened 4 years ago

Kreol64 commented 4 years ago

Is there any way to extract k-first eigenvalues (eigenvectors) rather than extracting the whole spectrum? This is the functionality eigsh provides in scipy. Currently skcuda.linalg.eig calculates all eigenvalues but this is a much harder problem then getting the first k, especially for high dimensional problems.

lebedov commented 4 years ago

MAGMA provides a means of finding the eigenvalues of a symmetric/Hermitian matrix in an interval, but that functionality has not been integrated with skcuda.linalg.eig().

Kreol64 commented 4 years ago

Ah, unfortunately don`t see cheevx being implemented in what looks like the only python wrapper pymagma @lebedov , any chance this would be added into skcuda future releases ?