You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have detected a potential bug with your module.
This code fails : Matrix.rows([[Complex(1,1), Complex(2,1)], [Complex(3,1), Complex(4,1)]])**0.5
While this two lines of codes correctly run : Matrix.rows([[1,2], [3,4]])**0.5 Matrix.rows([[Complex(1,1), Complex(2,1)], [Complex(3,1), Complex(4,1)]])**4
Best regards,
Mickael Cartron
The text was updated successfully, but these errors were encountered:
You are correct, non-integer powers of Complex matrices will not work 😢. The diagonalisation code is translated directly from JAMA which only supports real matrices inputs, even though it may output complex results.
I have added some words in the documentation to that effect.
Hello,
I have detected a potential bug with your module.
This code fails :
Matrix.rows([[Complex(1,1), Complex(2,1)], [Complex(3,1), Complex(4,1)]])**0.5
While this two lines of codes correctly run :
Matrix.rows([[1,2], [3,4]])**0.5
Matrix.rows([[Complex(1,1), Complex(2,1)], [Complex(3,1), Complex(4,1)]])**4
Best regards,
Mickael Cartron
The text was updated successfully, but these errors were encountered: