anderkve / FYS3150

https://anderkve.github.io/FYS3150
26 stars 14 forks source link

About the testing of eigenvals/vect #46

Closed JohanCarlsen closed 2 years ago

JohanCarlsen commented 2 years ago

Do we need to calculate by hand that the eigenvals/vecs from Armadillo agrees with the analytical result, or can we simply write a function that calculates this? I suppose that it generally will be some truncation error due to the irrationality of pi and also the numerical representation of trigonometric functions. This might not matter too much, or?

JohanCarlsen commented 2 years ago

Never mind, I saw that we should write a program that does all this.