1CLAEIN(1) LAPACK auxiliary routine (version 3.2) CLAEIN(1)
2
3
4
6 CLAEIN - uses inverse iteration to find a right or left eigenvector
7 corresponding to the eigenvalue W of a complex upper Hessenberg matrix
8 H
9
11 SUBROUTINE CLAEIN( RIGHTV, NOINIT, N, H, LDH, W, V, B, LDB, RWORK,
12 EPS3, SMLNUM, INFO )
13
14 LOGICAL NOINIT, RIGHTV
15
16 INTEGER INFO, LDB, LDH, N
17
18 REAL EPS3, SMLNUM
19
20 COMPLEX W
21
22 REAL RWORK( * )
23
24 COMPLEX B( LDB, * ), H( LDH, * ), V( * )
25
27 CLAEIN uses inverse iteration to find a right or left eigenvector cor‐
28 responding to the eigenvalue W of a complex upper Hessenberg matrix H.
29
31 RIGHTV (input) LOGICAL
32 = .TRUE. : compute right eigenvector;
33 = .FALSE.: compute left eigenvector.
34
35 NOINIT (input) LOGICAL
36 = .TRUE. : no initial vector supplied in V
37 = .FALSE.: initial vector supplied in V.
38
39 N (input) INTEGER
40 The order of the matrix H. N >= 0.
41
42 H (input) COMPLEX array, dimension (LDH,N)
43 The upper Hessenberg matrix H.
44
45 LDH (input) INTEGER
46 The leading dimension of the array H. LDH >= max(1,N).
47
48 W (input) COMPLEX
49 The eigenvalue of H whose corresponding right or left eigenvec‐
50 tor is to be computed.
51
52 V (input/output) COMPLEX array, dimension (N)
53 On entry, if NOINIT = .FALSE., V must contain a starting vector
54 for inverse iteration; otherwise V need not be set. On exit, V
55 contains the computed eigenvector, normalized so that the com‐
56 ponent of largest magnitude has magnitude 1; here the magnitude
57 of a complex number (x,y) is taken to be |x| + |y|.
58
59 B (workspace) COMPLEX array, dimension (LDB,N)
60
61 LDB (input) INTEGER
62 The leading dimension of the array B. LDB >= max(1,N).
63
64 RWORK (workspace) REAL array, dimension (N)
65
66 EPS3 (input) REAL
67 A small machine-dependent value which is used to perturb close
68 eigenvalues, and to replace zero pivots.
69
70 SMLNUM (input) REAL
71 A machine-dependent value close to the underflow threshold.
72
73 INFO (output) INTEGER
74 = 0: successful exit
75 = 1: inverse iteration did not converge; V is set to the last
76 iterate.
77
78
79
80 LAPACK auxiliary routine (versionNo3v.e2m)ber 2008 CLAEIN(1)