1lis_array_cgs(3)             Lis Library Functions            lis_array_cgs(3)
2
3
4

NAME

6       lis_array_cgs - calculate the QR factorization with the classical Gram-
7       Schmidt process
8
9

SYNOPSIS

11       #include "lis.h"
12
13       LIS_INT  lis_array_cgs(LIS_INT  n,  LIS_SCALAR  a[],  LIS_SCALAR   q[],
14       LIS_SCALAR r[]);
15
16

DESCRIPTION

18       Calculate  the  QR  factorization  QR=A with the classical Gram-Schmidt
19       process.
20
21

INPUT

23       n      The size of the matrices
24
25
26       a      The array that stores matrix A of size n * n
27
28

OUTPUT

30       q      The array that stores orthogonal matrix Q of size n * n
31
32
33       r      The array that stores upper-triangular matrix R of size n * n
34
35

EXIT STATUS

37       The following exit values are returned:
38
39       0      The process is normally terminated
40
41       unspecified
42              An error occurred
43
44

SEE ALSO

46       lis(3)
47
48       http://www.ssisc.org/lis/
49
50
51
52
53Man Page                          3 Dec 2014                  lis_array_cgs(3)
Impressum