Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dealing with imaginary eigenvalues #7

Open
tumble-weed opened this issue Jun 24, 2023 · 0 comments
Open

Dealing with imaginary eigenvalues #7

tumble-weed opened this issue Jun 24, 2023 · 0 comments

Comments

@tumble-weed
Copy link

Hello,
As i understand , this line deals with imaginary eigenvalues, and creates real eigenvectors in M. according to the torch documentation for eig, the suggestion is to perform linear combinations of the ith and i+1th initial eigenvectors to get the real eigenvectors. however in the code there seems to just be a reassignment, which will still leave M[:,i] complex if it was originally so ( because then M[:,i+1] would have been complex as well)
can you please verify this line is correct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant