Skip to content

Conversation

@durnwalder
Copy link
Contributor

This PR adds eigenvalue decomposition for real symmetric matrices using the QR algorithm.

  • Added eig() function that returns a A tuple (Q, D) where:
    - Q: A matrix whose columns are the eigenvectors
    - D: A diagonal matrix containing the eigenvalues
  • Added issymmetric() helper function to verify matrix symmetry

@shivasankarka shivasankarka merged commit 08bc1ad into Mojo-Numerics-and-Algorithms-group:pre-0.7 Apr 23, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants