zhbev - compute all the eigenvalues and, optionally, eigenvectors of a complex Hermitian band matrix A
SUBROUTINE ZHBEV( JOBZ, UPLO, N, NDIAG, A, LDA, W, Z, LDZ, WORK, * WORK2, INFO) CHARACTER * 1 JOBZ, UPLO DOUBLE COMPLEX A(LDA,*), Z(LDZ,*), WORK(*) INTEGER N, NDIAG, LDA, LDZ, INFO DOUBLE PRECISION W(*), WORK2(*)
SUBROUTINE ZHBEV_64( JOBZ, UPLO, N, NDIAG, A, LDA, W, Z, LDZ, WORK, * WORK2, INFO) CHARACTER * 1 JOBZ, UPLO DOUBLE COMPLEX A(LDA,*), Z(LDZ,*), WORK(*) INTEGER*8 N, NDIAG, LDA, LDZ, INFO DOUBLE PRECISION W(*), WORK2(*)
SUBROUTINE HBEV( JOBZ, UPLO, [N], NDIAG, A, [LDA], W, Z, [LDZ], * [WORK], [WORK2], [INFO]) CHARACTER(LEN=1) :: JOBZ, UPLO COMPLEX(8), DIMENSION(:) :: WORK COMPLEX(8), DIMENSION(:,:) :: A, Z INTEGER :: N, NDIAG, LDA, LDZ, INFO REAL(8), DIMENSION(:) :: W, WORK2
SUBROUTINE HBEV_64( JOBZ, UPLO, [N], NDIAG, A, [LDA], W, Z, [LDZ], * [WORK], [WORK2], [INFO]) CHARACTER(LEN=1) :: JOBZ, UPLO COMPLEX(8), DIMENSION(:) :: WORK COMPLEX(8), DIMENSION(:,:) :: A, Z INTEGER(8) :: N, NDIAG, LDA, LDZ, INFO REAL(8), DIMENSION(:) :: W, WORK2
#include <sunperf.h>
void zhbev(char jobz, char uplo, int n, int ndiag, doublecomplex *a, int lda, double *w, doublecomplex *z, int ldz, int *info);
void zhbev_64(char jobz, char uplo, long n, long ndiag, doublecomplex *a, long lda, double *w, doublecomplex *z, long ldz, long *info);
zhbev computes all the eigenvalues and, optionally, eigenvectors of a complex Hermitian band matrix A.
= 'N': Compute eigenvalues only;
= 'V': Compute eigenvalues and eigenvectors.
= 'U': Upper triangle of A is stored;
= 'L': Lower triangle of A is stored.
A(kd+1+i-j,j)
= A(i,j)
for max(1,j-kd)
< =i < =j;
if UPLO = 'L', A(1+i-j,j)
= A(i,j)
for j < =i < =min(n,j+kd).
On exit, A is overwritten by values generated during the reduction to tridiagonal form. If UPLO = 'U', the first superdiagonal and the diagonal of the tridiagonal matrix T are returned in rows NDIAG and NDIAG+1 of A, and if UPLO = 'L', the diagonal and first subdiagonal of T are returned in the first two rows of A.
dimension(N)
dimension(max(1,3*N-2))
= 0: successful exit.
< 0: if INFO = -i, the i-th argument had an illegal value.
> 0: if INFO = i, the algorithm failed to converge; i off-diagonal elements of an intermediate tridiagonal form did not converge to zero.