yixuan / spectra

A header-only C++ library for large scale eigenvalue problems
https://spectralib.org
Mozilla Public License 2.0
735 stars 127 forks source link

expanded application of Spectra to complex-valued matrices: problem of inequality signs in Arnoldi.h #161

Open dsl2501 opened 1 year ago

dsl2501 commented 1 year ago

When I tried to amend the current best approximate codes to my complex-valued matrices, I finally came to be confronted with Arnoldi.h. Eigen/Spectra is constructed to do the job with real-valued matrices, prior consideration was minimal to predefine the inequality, absolute value (and norm), and the convergence criteria. I changed in several combinations of the following several lines and finally met the barrier. Would you please let me know the convergence of Arnoldi iteration and caveats for how to handle the inequality signs of complex valued numbers. Thanks.

dsl2501 commented 1 year ago

this issue seems to be a small one of the grand problem of complex-valued matix eigendecompostion. I now move this issue to another topic.

yixuan commented 1 year ago

Currently, solvers for complex-valued matrices have not been implemented yet.

dsl2501 commented 1 year ago

Thanks a lot.