Open
Description
I want to use gsl LU solver. But when comparing with Scipy's LU solver the results are a different. The zip archive contains the source main.c
file that solves the linear sytem Ax = b
with A
the matrix in the A.dat
file written using gsl_matrix_fwrite
and b
the vector whose only non-zero component is the last with value -1
. Finally the test.py
file print scipy's solution.
The solutions I get are with
GSL:
-0.944006998359841698054140124441
2.689851515690580452400126887369
-0.745844517330738865368289225444
-0.000000000000231038487010262759
Scipy:
-5.40764393e-01
2.99927045e+00
-1.45850606e+00
-2.47812410e-13
Metadata
Metadata
Assignees
Labels
No labels