lis_array_solve - Man Page

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/

Info

3 Dec 2014 Man Page Lis Library Functions