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

Eigenvalues of a triangel matrix with higher dimensions (here 29) have sometimes imaginary part, where they should not have #1088

Open
Anatom70 opened this issue Aug 19, 2024 · 0 comments

Comments

@Anatom70
Copy link

Anatom70 commented Aug 19, 2024

I create an integer random (Range [-100,100]) triangel matrix and let the Eigenvalues calculate with the Evd method.
Due to theory the Eigenvalues are the diagonal elements and should be all real numbers!
I checked this and sometimes (in 1 of 15 cases) the Eigenvalues have an imaginary part:
Eigenwert 26 has imaginary part (41,0000000000697, 1,02305029205388E-05) on 29
13 0 0 0 0 0 0 0 0 0 0 0 0 .. 0 0
70 14 0 0 0 0 0 0 0 0 0 0 0 .. 0 0
-8 -39 75 0 0 0 0 0 0 0 0 0 0 .. 0 0
97 73 -18 81 0 0 0 0 0 0 0 0 0 .. 0 0
32 -90 -69 -96 -3 0 0 0 0 0 0 0 0 .. 0 0
-28 70 -99 -92 7 -64 0 0 0 0 0 0 0 .. 0 0
56 -5 47 26 -87 -96 -12 0 0 0 0 0 0 .. 0 0
9 -15 78 66 -79 3 71 -22 0 0 0 0 0 .. 0 0
.. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
-42 13 -21 -66 78 54 7 33 -33 -71 -8 47 76 .. 0 0
-76 81 14 -72 -24 -53 -10 -61 -47 -47 -46 -99 -10 .. 0 0
16 97 -76 37 -36 63 56 -92 -26 53 -26 -78 29 .. 41 0
-50 89 -22 70 1 24 3 -73 -9 52 -61 63 -86 .. 77 -75

@Anatom70 Anatom70 changed the title Eigenvalues of a matrix with higher dimensions (here 29) have sometimes imaginary part, where they should not have Eigenvalues of a triangel matrix with higher dimensions (here 29) have sometimes imaginary part, where they should not have Aug 19, 2024
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