BertrandBev / eigen-js

⚡ Eigen-js is a port of the Eigen C++ linear algebra library
https://bertrandbev.github.io/eigen-js/#/
92 stars 15 forks source link

One doubt about inverse of this case of matrix #25

Closed lucaslgr closed 2 years ago

lucaslgr commented 3 years ago

As you can see below I've tried to inverse this matrix and the answer isn't compatible with Matlab answer. Do you know why the NaN (Not a number) appear in response?

EigenJS image

Matlab image

BertrandBev commented 2 years ago

That's a good question! Have you tried in Eigen to see what it yields? Not sure it should have a sensible behaviour in the non invertible cases