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

Check only for Hermitian and not Symmetric in matrix exponentiation #55349

Merged
merged 1 commit into from
Aug 3, 2024

Conversation

jishnub
Copy link
Contributor

@jishnub jishnub commented Aug 2, 2024

For real matrices, a Hermitian eigenvalue problem would be equivalent to a Symmetric one, and for complex matrices, there is no special complex symmetric eigensolver (it errors at present, and complex symmetric matrices might not be diagonalizable). I think the ishermitian branch should suffice here. Removing the symmetric branch makes the return type simpler to infer.

@jishnub jishnub added linear algebra Linear algebra arrays [a, r, r, a, y, s] labels Aug 2, 2024
@jishnub jishnub merged commit a1714ca into master Aug 3, 2024
9 checks passed
@jishnub jishnub deleted the jishnub/densepowsym branch August 3, 2024 12:01
lazarusA pushed a commit to lazarusA/julia that referenced this pull request Aug 17, 2024
…uliaLang#55349)

For real matrices, a `Hermitian` eigenvalue problem would be equivalent
to a `Symmetric` one, and for complex matrices, there is no special
complex symmetric eigensolver (it errors at present, and complex
symmetric matrices might not be diagonalizable). I think the
`ishermitian` branch should suffice here. Removing the symmetric branch
makes the return type simpler to infer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrays [a, r, r, a, y, s] linear algebra Linear algebra
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants