nocliper / dbr

:microscope: Code for calculating the reflectance spectrum of the anti-reflective coatings
1 stars 0 forks source link

Why use scipy.special.eval_chebyu() instead of numpy.linalg.matrix_power() for calculating the power of the matrices? #1

Open JKassmann opened 1 year ago

JKassmann commented 1 year ago

Question is in the header.

It runs much faster und is more accurate

nocliper commented 1 year ago

Hi, thank you for feed-back!

It really is as you think. But when I did that, I felt I need more practice with basics math in polynomials, matrices and how they closely connected. I may close this issue once I have found some time to work on it

JKassmann commented 1 year ago

Yes, of course. I was just curious about it. And it is not a real problem either