xiaoyeli / superlu

Supernodal sparse direct solver. https://portal.nersc.gov/project/sparse/superlu/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Matrix equation solving error

snugglerx opened this issue · comments

When solving the AX=B (A matrix and B matrix files are in the attachment below), the solution is inconsistent with MATLAB's.
Matrix.zip

"inconsistent" means the two solutions are not identical?
Have you checked the error : ||X_matlab - X_superlu|| / ||X_matlab|| ?

It is obviously that X_superlu is different from X_matlab, comparing each element in Matrix X.