1lis_array_solve(3) Lis Library Functions lis_array_solve(3)
2
3
4
6 lis_array_solve - solve the linear equation with the direct method
7
8
10 #include "lis.h"
11
12 LIS_INT lis_array_solve(LIS_INT n, LIS_SCALAR a[], LIS_SCALAR b[],
13 LIS_SCALAR x[], LIS_SCALAR w[]);
14
15
17 Solve the linear equation Ax=b with the direct method.
18
19
21 n The size of the matrix
22
23
24 a The array that stores coefficient matrix A of size n * n
25
26
27 b The array that stores right hand side vector b of size n
28
29
30 w The work array w of size n * n
31
32
34 x The array that stores solution x
35
36
38 The following exit values are returned:
39
40 0 The process is normally terminated
41
42 unspecified
43 An error occurred
44
45
47 lis(3)
48
49 http://www.ssisc.org/lis/
50
51
52
53
54Man Page 3 Dec 2014 lis_array_solve(3)