NAME

zhpevx - compute selected eigenvalues and, optionally, eigenvectors of a complex Hermitian matrix A in packed storage


SYNOPSIS

  SUBROUTINE ZHPEVX( JOBZ, RANGE, UPLO, N, A, VL, VU, IL, IU, ABTOL, 
 *      NFOUND, W, Z, LDZ, WORK, WORK2, IWORK3, IFAIL, INFO)
  CHARACTER * 1 JOBZ, RANGE, UPLO
  DOUBLE COMPLEX A(*), Z(LDZ,*), WORK(*)
  INTEGER N, IL, IU, NFOUND, LDZ, INFO
  INTEGER IWORK3(*), IFAIL(*)
  DOUBLE PRECISION VL, VU, ABTOL
  DOUBLE PRECISION W(*), WORK2(*)
  SUBROUTINE ZHPEVX_64( JOBZ, RANGE, UPLO, N, A, VL, VU, IL, IU, 
 *      ABTOL, NFOUND, W, Z, LDZ, WORK, WORK2, IWORK3, IFAIL, INFO)
  CHARACTER * 1 JOBZ, RANGE, UPLO
  DOUBLE COMPLEX A(*), Z(LDZ,*), WORK(*)
  INTEGER*8 N, IL, IU, NFOUND, LDZ, INFO
  INTEGER*8 IWORK3(*), IFAIL(*)
  DOUBLE PRECISION VL, VU, ABTOL
  DOUBLE PRECISION W(*), WORK2(*)

F95 INTERFACE

  SUBROUTINE HPEVX( JOBZ, RANGE, UPLO, [N], A, VL, VU, IL, IU, ABTOL, 
 *       [NFOUND], W, Z, [LDZ], [WORK], [WORK2], [IWORK3], IFAIL, [INFO])
  CHARACTER(LEN=1) :: JOBZ, RANGE, UPLO
  COMPLEX(8), DIMENSION(:) :: A, WORK
  COMPLEX(8), DIMENSION(:,:) :: Z
  INTEGER :: N, IL, IU, NFOUND, LDZ, INFO
  INTEGER, DIMENSION(:) :: IWORK3, IFAIL
  REAL(8) :: VL, VU, ABTOL
  REAL(8), DIMENSION(:) :: W, WORK2
  SUBROUTINE HPEVX_64( JOBZ, RANGE, UPLO, [N], A, VL, VU, IL, IU, 
 *       ABTOL, [NFOUND], W, Z, [LDZ], [WORK], [WORK2], [IWORK3], IFAIL, 
 *       [INFO])
  CHARACTER(LEN=1) :: JOBZ, RANGE, UPLO
  COMPLEX(8), DIMENSION(:) :: A, WORK
  COMPLEX(8), DIMENSION(:,:) :: Z
  INTEGER(8) :: N, IL, IU, NFOUND, LDZ, INFO
  INTEGER(8), DIMENSION(:) :: IWORK3, IFAIL
  REAL(8) :: VL, VU, ABTOL
  REAL(8), DIMENSION(:) :: W, WORK2

C INTERFACE

#include <sunperf.h>

void zhpevx(char jobz, char range, char uplo, int n, doublecomplex *a, double vl, double vu, int il, int iu, double abtol, int *nfound, double *w, doublecomplex *z, int ldz, int *ifail, int *info);

void zhpevx_64(char jobz, char range, char uplo, long n, doublecomplex *a, double vl, double vu, long il, long iu, double abtol, long *nfound, double *w, doublecomplex *z, long ldz, long *ifail, long *info);


PURPOSE

zhpevx computes selected eigenvalues and, optionally, eigenvectors of a complex Hermitian matrix A in packed storage. Eigenvalues/vectors can be selected by specifying either a range of values or a range of indices for the desired eigenvalues.


ARGUMENTS