NAME

zhpgvx - compute selected eigenvalues and, optionally, eigenvectors of a complex generalized Hermitian-definite eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, or B*A*x=(lambda)*x


SYNOPSIS

  SUBROUTINE ZHPGVX( ITYPE, JOBZ, RANGE, UPLO, N, AP, BP, VL, VU, IL, 
 *      IU, ABSTOL, M, W, Z, LDZ, WORK, RWORK, IWORK, IFAIL, INFO)
  CHARACTER * 1 JOBZ, RANGE, UPLO
  DOUBLE COMPLEX AP(*), BP(*), Z(LDZ,*), WORK(*)
  INTEGER ITYPE, N, IL, IU, M, LDZ, INFO
  INTEGER IWORK(*), IFAIL(*)
  DOUBLE PRECISION VL, VU, ABSTOL
  DOUBLE PRECISION W(*), RWORK(*)
  SUBROUTINE ZHPGVX_64( ITYPE, JOBZ, RANGE, UPLO, N, AP, BP, VL, VU, 
 *      IL, IU, ABSTOL, M, W, Z, LDZ, WORK, RWORK, IWORK, IFAIL, INFO)
  CHARACTER * 1 JOBZ, RANGE, UPLO
  DOUBLE COMPLEX AP(*), BP(*), Z(LDZ,*), WORK(*)
  INTEGER*8 ITYPE, N, IL, IU, M, LDZ, INFO
  INTEGER*8 IWORK(*), IFAIL(*)
  DOUBLE PRECISION VL, VU, ABSTOL
  DOUBLE PRECISION W(*), RWORK(*)

F95 INTERFACE

  SUBROUTINE HPGVX( ITYPE, JOBZ, RANGE, UPLO, [N], AP, BP, VL, VU, IL, 
 *       IU, ABSTOL, M, W, Z, [LDZ], [WORK], [RWORK], [IWORK], IFAIL, 
 *       [INFO])
  CHARACTER(LEN=1) :: JOBZ, RANGE, UPLO
  COMPLEX(8), DIMENSION(:) :: AP, BP, WORK
  COMPLEX(8), DIMENSION(:,:) :: Z
  INTEGER :: ITYPE, N, IL, IU, M, LDZ, INFO
  INTEGER, DIMENSION(:) :: IWORK, IFAIL
  REAL(8) :: VL, VU, ABSTOL
  REAL(8), DIMENSION(:) :: W, RWORK
  SUBROUTINE HPGVX_64( ITYPE, JOBZ, RANGE, UPLO, [N], AP, BP, VL, VU, 
 *       IL, IU, ABSTOL, M, W, Z, [LDZ], [WORK], [RWORK], [IWORK], IFAIL, 
 *       [INFO])
  CHARACTER(LEN=1) :: JOBZ, RANGE, UPLO
  COMPLEX(8), DIMENSION(:) :: AP, BP, WORK
  COMPLEX(8), DIMENSION(:,:) :: Z
  INTEGER(8) :: ITYPE, N, IL, IU, M, LDZ, INFO
  INTEGER(8), DIMENSION(:) :: IWORK, IFAIL
  REAL(8) :: VL, VU, ABSTOL
  REAL(8), DIMENSION(:) :: W, RWORK

C INTERFACE

#include <sunperf.h>

void zhpgvx(int itype, char jobz, char range, char uplo, int n, doublecomplex *ap, doublecomplex *bp, double vl, double vu, int il, int iu, double abstol, int *m, double *w, doublecomplex *z, int ldz, int *ifail, int *info);

void zhpgvx_64(long itype, char jobz, char range, char uplo, long n, doublecomplex *ap, doublecomplex *bp, double vl, double vu, long il, long iu, double abstol, long *m, double *w, doublecomplex *z, long ldz, long *ifail, long *info);


PURPOSE

zhpgvx computes selected eigenvalues and, optionally, eigenvectors of a complex generalized Hermitian-definite eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, or B*A*x=(lambda)*x. Here A and B are assumed to be Hermitian, stored in packed format, and B is also positive definite. Eigenvalues and eigenvectors can be selected by specifying either a range of values or a range of indices for the desired eigenvalues.


ARGUMENTS


FURTHER DETAILS

Based on contributions by

   Mark Fahey, Department of Mathematics, Univ. of Kentucky, USA