lis_array_solve - solve the linear equation with the direct method
#include "lis.h"
LIS_INT lis_array_solve(LIS_INT n, LIS_SCALAR
a[], LIS_SCALAR b[], LIS_SCALAR x[], LIS_SCALAR
w[]);
Solve the linear equation Ax=b with the direct method.
- n
- The size of the matrix
- a
- The array that stores coefficient matrix A of size n * n
- b
- The array that stores right hand side vector b of size n
- w
- The work array w of size n * n
- x
- The array that stores solution x
The following exit values are returned:
- 0
- The process is normally terminated
- unspecified
- An error occurred
lis(3)
http://www.ssisc.org/lis/