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

NAME

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

SYNOPSIS

10       #include "lis.h"
11
12       LIS_INT   lis_array_qr(LIS_INT   n,  LIS_SCALAR  a[],  LIS_SCALAR  q[],
13       LIS_SCALAR r[], LIS_INT *qriter, LIS_SCALAR *qrerr);
14
15

DESCRIPTION

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

INPUT

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

OUTPUT

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

EXIT STATUS

47       The following exit values are returned:
48
49       0      The process is normally terminated
50
51       unspecified
52              An error occurred
53
54

SEE ALSO

56       lis(3)
57
58       http://www.ssisc.org/lis/
59
60
61
62
63Man Page                          1 Nov 2014                   lis_array_qr(3)
Impressum