lis_array_solve(3)

NAME
lis_array_solve - solve the linear equation with the direct method

SYNOPSIS
#include "lis.h" LIS_INT lis_array_solve(LIS_INT n, LIS_SCALAR a[], LIS_SCALAR b[], LIS_SCALAR x[], LIS_SCALAR w[]);

DESCRIPTION
Solve the linear equation Ax=b with the direct method.

INPUT

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

OUTPUT

x   The array that stores solution x

EXIT STATUS
The following exit values are returned:

0   The process is normally terminated

unspecified
    An error occurred

SEE ALSO
lis(3)

http://www.ssisc.org/lis/