1SGGBAK(1) LAPACK routine (version 3.1) SGGBAK(1)
2
3
4
6 SGGBAK - the right or left eigenvectors of a real generalized eigenval‐
7 ue problem A*x = lambda*B*x, by backward transformation on the computed
8 eigenvectors of the balanced pair of matrices output by SGGBAL
9
11 SUBROUTINE SGGBAK( JOB, SIDE, N, ILO, IHI, LSCALE, RSCALE, M, V, LDV,
12 INFO )
13
14 CHARACTER JOB, SIDE
15
16 INTEGER IHI, ILO, INFO, LDV, M, N
17
18 REAL LSCALE( * ), RSCALE( * ), V( LDV, * )
19
21 SGGBAK forms the right or left eigenvectors of a real generalized ei‐
22 genvalue problem A*x = lambda*B*x, by backward transformation on the
23 computed eigenvectors of the balanced pair of matrices output by SGG‐
24 BAL.
25
26
28 JOB (input) CHARACTER*1
29 Specifies the type of backward transformation required:
30 = 'N': do nothing, return immediately;
31 = 'P': do backward transformation for permutation only;
32 = 'S': do backward transformation for scaling only;
33 = 'B': do backward transformations for both permutation and
34 scaling. JOB must be the same as the argument JOB supplied to
35 SGGBAL.
36
37 SIDE (input) CHARACTER*1
38 = 'R': V contains right eigenvectors;
39 = 'L': V contains left eigenvectors.
40
41 N (input) INTEGER
42 The number of rows of the matrix V. N >= 0.
43
44 ILO (input) INTEGER
45 IHI (input) INTEGER The integers ILO and IHI determined by
46 SGGBAL. 1 <= ILO <= IHI <= N, if N > 0; ILO=1 and IHI=0, if
47 N=0.
48
49 LSCALE (input) REAL array, dimension (N)
50 Details of the permutations and/or scaling factors applied to
51 the left side of A and B, as returned by SGGBAL.
52
53 RSCALE (input) REAL array, dimension (N)
54 Details of the permutations and/or scaling factors applied to
55 the right side of A and B, as returned by SGGBAL.
56
57 M (input) INTEGER
58 The number of columns of the matrix V. M >= 0.
59
60 V (input/output) REAL array, dimension (LDV,M)
61 On entry, the matrix of right or left eigenvectors to be trans‐
62 formed, as returned by STGEVC. On exit, V is overwritten by
63 the transformed eigenvectors.
64
65 LDV (input) INTEGER
66 The leading dimension of the matrix V. LDV >= max(1,N).
67
68 INFO (output) INTEGER
69 = 0: successful exit.
70 < 0: if INFO = -i, the i-th argument had an illegal value.
71
73 See R.C. Ward, Balancing the generalized eigenvalue problem,
74 SIAM J. Sci. Stat. Comp. 2 (1981), 141-152.
75
76
77
78
79 LAPACK routine (version 3.1) November 2006 SGGBAK(1)