[ | 6.13 | -2.90 | 5.86 | ] | [x0] | [6.23] | |
[ | 8.08 | -6.31 | -3.89 | ] | [x1] | = | [5.37] |
[ | -4.36 | 1.00 | 0.19 | ] | [x2] | [2.29] |
Solve it using GSL.
Hint: you can solve linear systems using one of the many methods, for example,
gsl_linalg_HH_solve
gsl_linalg_LU_decomp gsl_linalg_LU_solve
gsl_linalg_QR_decomp gsl_linalg_QR_solveSee also: