1lis_array_qr(3f)             Lis Library Functions            lis_array_qr(3f)
2
3
4

NAME

6       lis_array_qr - calculate the eigenvalues with the QR algorithm
7
8

SYNOPSIS

10       subroutine lis_array_cgs(LIS_INTEGER n, LIS_SCALAR a(), LIS_SCALAR q(),
11       LIS_SCALAR  r(),  LIS_INTEGER  qriter,  LIS_SCALAR  qrerr,  LIS_INTEGER
12       ierr);
13
14

DESCRIPTION

16       Calculate the eigenvalues of matrix A with the QR algorithm.
17
18

INPUT

20       n      The size of the matrices
21
22
23       a      The array that stores matrix A of size n * n
24
25
26       q      The work array Q of size n * n
27
28
29       r      The work array R of size n * n
30
31

OUTPUT

33       a      The array that stores the block upper-triangular matrix with ei‐
34              genvalues in the block diagonal elements after similarity trans‐
35              formation
36
37
38       qriter The number of iterations of the QR algorithm
39
40
41       qrerr  The  2-norm  of the first subdiagonal element A(2,1) after simi‐
42              larity transformation
43
44

SEE ALSO

46       lis(3)
47
48       http://www.ssisc.org/lis/
49
50
51
52
53Man Page                          1 Nov 2014                  lis_array_qr(3f)
Impressum