NAME

zhpev - compute all the eigenvalues and, optionally, eigenvectors of a complex Hermitian matrix in packed storage


SYNOPSIS

  SUBROUTINE ZHPEV( JOBZ, UPLO, N, A, W, Z, LDZ, WORK, WORK2, INFO)
  CHARACTER * 1 JOBZ, UPLO
  DOUBLE COMPLEX A(*), Z(LDZ,*), WORK(*)
  INTEGER N, LDZ, INFO
  DOUBLE PRECISION W(*), WORK2(*)
  SUBROUTINE ZHPEV_64( JOBZ, UPLO, N, A, W, Z, LDZ, WORK, WORK2, INFO)
  CHARACTER * 1 JOBZ, UPLO
  DOUBLE COMPLEX A(*), Z(LDZ,*), WORK(*)
  INTEGER*8 N, LDZ, INFO
  DOUBLE PRECISION W(*), WORK2(*)

F95 INTERFACE

  SUBROUTINE HPEV( JOBZ, UPLO, [N], A, W, Z, [LDZ], [WORK], [WORK2], 
 *       [INFO])
  CHARACTER(LEN=1) :: JOBZ, UPLO
  COMPLEX(8), DIMENSION(:) :: A, WORK
  COMPLEX(8), DIMENSION(:,:) :: Z
  INTEGER :: N, LDZ, INFO
  REAL(8), DIMENSION(:) :: W, WORK2
  SUBROUTINE HPEV_64( JOBZ, UPLO, [N], A, W, Z, [LDZ], [WORK], [WORK2], 
 *       [INFO])
  CHARACTER(LEN=1) :: JOBZ, UPLO
  COMPLEX(8), DIMENSION(:) :: A, WORK
  COMPLEX(8), DIMENSION(:,:) :: Z
  INTEGER(8) :: N, LDZ, INFO
  REAL(8), DIMENSION(:) :: W, WORK2

C INTERFACE

#include <sunperf.h>

void zhpev(char jobz, char uplo, int n, doublecomplex *a, double *w, doublecomplex *z, int ldz, int *info);

void zhpev_64(char jobz, char uplo, long n, doublecomplex *a, double *w, doublecomplex *z, long ldz, long *info);


PURPOSE

zhpev computes all the eigenvalues and, optionally, eigenvectors of a complex Hermitian matrix in packed storage.


ARGUMENTS