·  Home
+   man pages
 -> Linux -> FreeBSD -> OpenBSD -> NetBSD -> Tru64 Unix -> HP-UX 11i -> IRIX
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

man pages->IRIX man pages -> complib/zhpgst (3)
 Title
 Content
 Arch
 Section All Sections 1 - General Commands 2 - System Calls 3 - Subroutines 4 - Special Files 5 - File Formats 6 - Games 7 - Macros and Conventions 8 - Maintenance Commands 9 - Kernel Interface n - New Commands

### Contents

```
ZHPGST(3F)							    ZHPGST(3F)

```

### NAME[Toc][Back]

```     ZHPGST - reduce a complex Hermitian-definite generalized eigenproblem to
standard form, using packed storage
```

### SYNOPSIS[Toc][Back]

```     SUBROUTINE	ZHPGST(	ITYPE, UPLO, N,	AP, BP,	INFO )

CHARACTER	UPLO

INTEGER	INFO, ITYPE, N

COMPLEX*16	AP( * ), BP( * )
```

### PURPOSE[Toc][Back]

```     ZHPGST reduces a complex Hermitian-definite generalized eigenproblem to
standard form, using packed storage.

If	ITYPE =	1, the problem is A*x =	lambda*B*x,
and A is overwritten by inv(U**H)*A*inv(U)	or inv(L)*A*inv(L**H)

If	ITYPE =	2 or 3,	the problem is A*B*x = lambda*x	or
B*A*x = lambda*x, and A is	overwritten by U*A*U**H	or L**H*A*L.

B must have been previously factorized as U**H*U or L*L**H	by ZPPTRF.

```

### ARGUMENTS[Toc][Back]

```     ITYPE   (input) INTEGER
= 1: compute inv(U**H)*A*inv(U) or	inv(L)*A*inv(L**H);
= 2 or 3: compute U*A*U**H	or L**H*A*L.

UPLO    (input) CHARACTER
= 'U':  Upper triangle of A is stored and B is factored as
U**H*U; = 'L':  Lower triangle of A is stored and B is factored
as	L*L**H.

N	     (input) INTEGER
The order of the matrices A and B.	 N >= 0.

AP	     (input/output) COMPLEX*16 array, dimension	(N*(N+1)/2)
On	entry, the upper or lower triangle of the Hermitian matrix A,
packed columnwise in a linear array.  The j-th column of A	is
stored in the array AP as follows:	 if UPLO = 'U',	AP(i + (j1)*j/2)
= A(i,j) for 1<=i<=j; if UPLO = 'L', AP(i + (j-1)*(2nj)/2)
= A(i,j) for	j<=i<=n.

On	exit, if INFO =	0, the transformed matrix, stored in the same
format as A.

BP	     (input) COMPLEX*16	array, dimension (N*(N+1)/2)
The triangular factor from	the Cholesky factorization of B,
stored in the same	format as A, as	returned by ZPPTRF.

Page 1

ZHPGST(3F)							    ZHPGST(3F)

INFO    (output) INTEGER
= 0:  successful exit
< 0:  if INFO = -i, the i-th argument had an illegal value
ZHPGST(3F)							    ZHPGST(3F)

```

### NAME[Toc][Back]

```     ZHPGST - reduce a complex Hermitian-definite generalized eigenproblem to
standard form, using packed storage
```

### SYNOPSIS[Toc][Back]

```     SUBROUTINE	ZHPGST(	ITYPE, UPLO, N,	AP, BP,	INFO )

CHARACTER	UPLO

INTEGER	INFO, ITYPE, N

COMPLEX*16	AP( * ), BP( * )
```

### PURPOSE[Toc][Back]

```     ZHPGST reduces a complex Hermitian-definite generalized eigenproblem to
standard form, using packed storage.

If	ITYPE =	1, the problem is A*x =	lambda*B*x,
and A is overwritten by inv(U**H)*A*inv(U)	or inv(L)*A*inv(L**H)

If	ITYPE =	2 or 3,	the problem is A*B*x = lambda*x	or
B*A*x = lambda*x, and A is	overwritten by U*A*U**H	or L**H*A*L.

B must have been previously factorized as U**H*U or L*L**H	by ZPPTRF.

```

### ARGUMENTS[Toc][Back]

```     ITYPE   (input) INTEGER
= 1: compute inv(U**H)*A*inv(U) or	inv(L)*A*inv(L**H);
= 2 or 3: compute U*A*U**H	or L**H*A*L.

UPLO    (input) CHARACTER
= 'U':  Upper triangle of A is stored and B is factored as
U**H*U; = 'L':  Lower triangle of A is stored and B is factored
as	L*L**H.

N	     (input) INTEGER
The order of the matrices A and B.	 N >= 0.

AP	     (input/output) COMPLEX*16 array, dimension	(N*(N+1)/2)
On	entry, the upper or lower triangle of the Hermitian matrix A,
packed columnwise in a linear array.  The j-th column of A	is
stored in the array AP as follows:	 if UPLO = 'U',	AP(i + (j1)*j/2)
= A(i,j) for 1<=i<=j; if UPLO = 'L', AP(i + (j-1)*(2nj)/2)
= A(i,j) for	j<=i<=n.

On	exit, if INFO =	0, the transformed matrix, stored in the same
format as A.

BP	     (input) COMPLEX*16	array, dimension (N*(N+1)/2)
The triangular factor from	the Cholesky factorization of B,
stored in the same	format as A, as	returned by ZPPTRF.

Page 1

ZHPGST(3F)							    ZHPGST(3F)

INFO    (output) INTEGER
= 0:  successful exit
< 0:  if INFO = -i, the i-th argument had an illegal value

PPPPaaaaggggeeee 2222```
[ Back ]
Similar pages