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