1ZHPGST(1) LAPACK routine (version 3.2) ZHPGST(1)
2
3
4
6 ZHPGST - reduces a complex Hermitian-definite generalized eigenproblem
7 to standard form, using packed storage
8
10 SUBROUTINE ZHPGST( ITYPE, UPLO, N, AP, BP, INFO )
11
12 CHARACTER UPLO
13
14 INTEGER INFO, ITYPE, N
15
16 COMPLEX*16 AP( * ), BP( * )
17
19 ZHPGST reduces a complex Hermitian-definite generalized eigenproblem to
20 standard form, using packed storage. If ITYPE = 1, the problem is A*x
21 = lambda*B*x,
22 and A is overwritten by inv(U**H)*A*inv(U) or inv(L)*A*inv(L**H) If
23 ITYPE = 2 or 3, the problem is A*B*x = lambda*x or
24 B*A*x = lambda*x, and A is overwritten by U*A*U**H or L**H*A*L. B must
25 have been previously factorized as U**H*U or L*L**H by ZPPTRF.
26
28 ITYPE (input) INTEGER
29 = 1: compute inv(U**H)*A*inv(U) or inv(L)*A*inv(L**H);
30 = 2 or 3: compute U*A*U**H or L**H*A*L.
31
32 UPLO (input) CHARACTER*1
33 = 'U': Upper triangle of A is stored and B is factored as
34 U**H*U; = 'L': Lower triangle of A is stored and B is factored
35 as L*L**H.
36
37 N (input) INTEGER
38 The order of the matrices A and B. N >= 0.
39
40 AP (input/output) COMPLEX*16 array, dimension (N*(N+1)/2)
41 On entry, the upper or lower triangle of the Hermitian matrix
42 A, packed columnwise in a linear array. The j-th column of A
43 is stored in the array AP as follows: if UPLO = 'U', AP(i +
44 (j-1)*j/2) = A(i,j) for 1<=i<=j; if UPLO = 'L', AP(i +
45 (j-1)*(2n-j)/2) = A(i,j) for j<=i<=n. On exit, if INFO = 0,
46 the transformed matrix, stored in the same format as A.
47
48 BP (input) COMPLEX*16 array, dimension (N*(N+1)/2)
49 The triangular factor from the Cholesky factorization of B,
50 stored in the same format as A, as returned by ZPPTRF.
51
52 INFO (output) INTEGER
53 = 0: successful exit
54 < 0: if INFO = -i, the i-th argument had an illegal value
55
56
57
58 LAPACK routine (version 3.2) November 2008 ZHPGST(1)