1ZHBGST(1) LAPACK routine (version 3.1) ZHBGST(1)
2
3
4
6 ZHBGST - a complex Hermitian-definite banded generalized eigenproblem
7 A*x = lambda*B*x to standard form C*y = lambda*y,
8
10 SUBROUTINE ZHBGST( VECT, UPLO, N, KA, KB, AB, LDAB, BB, LDBB, X, LDX,
11 WORK, RWORK, INFO )
12
13 CHARACTER UPLO, VECT
14
15 INTEGER INFO, KA, KB, LDAB, LDBB, LDX, N
16
17 DOUBLE PRECISION RWORK( * )
18
19 COMPLEX*16 AB( LDAB, * ), BB( LDBB, * ), WORK( * ), X( LDX, * )
20
22 ZHBGST reduces a complex Hermitian-definite banded generalized eigenā
23 problem A*x = lambda*B*x to standard form C*y = lambda*y, such that
24 C has the same bandwidth as A.
25
26 B must have been previously factorized as S**H*S by ZPBSTF, using a
27 split Cholesky factorization. A is overwritten by C = X**H*A*X, where X
28 = S**(-1)*Q and Q is a unitary matrix chosen to preserve the bandwidth
29 of A.
30
31
33 VECT (input) CHARACTER*1
34 = 'N': do not form the transformation matrix X;
35 = 'V': form X.
36
37 UPLO (input) CHARACTER*1
38 = 'U': Upper triangle of A is stored;
39 = 'L': Lower triangle of A is stored.
40
41 N (input) INTEGER
42 The order of the matrices A and B. N >= 0.
43
44 KA (input) INTEGER
45 The number of superdiagonals of the matrix A if UPLO = 'U', or
46 the number of subdiagonals if UPLO = 'L'. KA >= 0.
47
48 KB (input) INTEGER
49 The number of superdiagonals of the matrix B if UPLO = 'U', or
50 the number of subdiagonals if UPLO = 'L'. KA >= KB >= 0.
51
52 AB (input/output) COMPLEX*16 array, dimension (LDAB,N)
53 On entry, the upper or lower triangle of the Hermitian band
54 matrix A, stored in the first ka+1 rows of the array. The j-th
55 column of A is stored in the j-th column of the array AB as
56 follows: if UPLO = 'U', AB(ka+1+i-j,j) = A(i,j) for max(1,j-
57 ka)<=i<=j; if UPLO = 'L', AB(1+i-j,j) = A(i,j) for
58 j<=i<=min(n,j+ka).
59
60 On exit, the transformed matrix X**H*A*X, stored in the same
61 format as A.
62
63 LDAB (input) INTEGER
64 The leading dimension of the array AB. LDAB >= KA+1.
65
66 BB (input) COMPLEX*16 array, dimension (LDBB,N)
67 The banded factor S from the split Cholesky factorization of B,
68 as returned by ZPBSTF, stored in the first kb+1 rows of the
69 array.
70
71 LDBB (input) INTEGER
72 The leading dimension of the array BB. LDBB >= KB+1.
73
74 X (output) COMPLEX*16 array, dimension (LDX,N)
75 If VECT = 'V', the n-by-n matrix X. If VECT = 'N', the array X
76 is not referenced.
77
78 LDX (input) INTEGER
79 The leading dimension of the array X. LDX >= max(1,N) if VECT
80 = 'V'; LDX >= 1 otherwise.
81
82 WORK (workspace) COMPLEX*16 array, dimension (N)
83
84 RWORK (workspace) DOUBLE PRECISION array, dimension (N)
85
86 INFO (output) INTEGER
87 = 0: successful exit
88 < 0: if INFO = -i, the i-th argument had an illegal value.
89
90
91
92 LAPACK routine (version 3.1) November 2006 ZHBGST(1)