-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Strange result in math.inv() function #1109
Comments
For reference in MATLAB I get the same as python:
The matrix @isma4444 what does |
Changing element (0,0) to exactly 0 results in the |
I managed to implement a Gauss-Jordan elimination with full pivoting in |
Thanks for looking into this Eric. Maybe there is an open source implementation of the Gauss-Jordan elimination that you could port, like from Octave or so? |
numpy must have something aswell, might be worth a look |
Thanks, those are indeed good resources. But it ended up being simple enough to add pivoting to the current implementation; see PR #1114. |
This issue is fixed now in v4.4.1. Thanks again Eric! |
Somehow I get different results using the inverse of matrices with python and with math.js
Original matrix:
The result by using math.js
Using python:
The element (0,3) is different and by a big margin.
The text was updated successfully, but these errors were encountered: