1lis_array_mgs(3) Lis Library Functions lis_array_mgs(3)
2
3
4
6 lis_array_mgs - calculate the QR factorization with the modified Gram-
7 Schmidt process
8
9
11 #include "lis.h"
12
13 LIS_INT lis_array_mgs(LIS_INT n, LIS_SCALAR a[], LIS_SCALAR q[],
14 LIS_SCALAR r[]);
15
16
18 Calculate the QR factorization QR=A with the modified Gram-Schmidt
19 process.
20
21
23 n The size of the matrices
24
25
26 a The array that stores matrix A of size n * n
27
28
30 q The array that stores matrix Q of size n * n
31
32
33 r The array that stores matrix R of size n * n
34
35
37 The following exit values are returned:
38
39 0 The process is normally terminated
40
41 unspecified
42 An error occurred
43
44
46 lis(3)
47
48 http://www.ssisc.org/lis/
49
50
51
52
53Man Page 3 Dec 2014 lis_array_mgs(3)