NAME

chbgv - compute all the eigenvalues, and optionally, the eigenvectors of a complex generalized Hermitian-definite banded eigenproblem, of the form A*x=(lambda)*B*x


SYNOPSIS

  SUBROUTINE CHBGV( JOBZ, UPLO, N, KA, KB, AB, LDAB, BB, LDBB, W, Z, 
 *      LDZ, WORK, RWORK, INFO)
  CHARACTER * 1 JOBZ, UPLO
  COMPLEX AB(LDAB,*), BB(LDBB,*), Z(LDZ,*), WORK(*)
  INTEGER N, KA, KB, LDAB, LDBB, LDZ, INFO
  REAL W(*), RWORK(*)
  SUBROUTINE CHBGV_64( JOBZ, UPLO, N, KA, KB, AB, LDAB, BB, LDBB, W, 
 *      Z, LDZ, WORK, RWORK, INFO)
  CHARACTER * 1 JOBZ, UPLO
  COMPLEX AB(LDAB,*), BB(LDBB,*), Z(LDZ,*), WORK(*)
  INTEGER*8 N, KA, KB, LDAB, LDBB, LDZ, INFO
  REAL W(*), RWORK(*)

F95 INTERFACE

  SUBROUTINE HBGV( JOBZ, UPLO, [N], KA, KB, AB, [LDAB], BB, [LDBB], W, 
 *       Z, [LDZ], [WORK], [RWORK], [INFO])
  CHARACTER(LEN=1) :: JOBZ, UPLO
  COMPLEX, DIMENSION(:) :: WORK
  COMPLEX, DIMENSION(:,:) :: AB, BB, Z
  INTEGER :: N, KA, KB, LDAB, LDBB, LDZ, INFO
  REAL, DIMENSION(:) :: W, RWORK
  SUBROUTINE HBGV_64( JOBZ, UPLO, [N], KA, KB, AB, [LDAB], BB, [LDBB], 
 *       W, Z, [LDZ], [WORK], [RWORK], [INFO])
  CHARACTER(LEN=1) :: JOBZ, UPLO
  COMPLEX, DIMENSION(:) :: WORK
  COMPLEX, DIMENSION(:,:) :: AB, BB, Z
  INTEGER(8) :: N, KA, KB, LDAB, LDBB, LDZ, INFO
  REAL, DIMENSION(:) :: W, RWORK

C INTERFACE

#include <sunperf.h>

void chbgv(char jobz, char uplo, int n, int ka, int kb, complex *ab, int ldab, complex *bb, int ldbb, float *w, complex *z, int ldz, int *info);

void chbgv_64(char jobz, char uplo, long n, long ka, long kb, complex *ab, long ldab, complex *bb, long ldbb, float *w, complex *z, long ldz, long *info);


PURPOSE

chbgv computes all the eigenvalues, and optionally, the eigenvectors of a complex generalized Hermitian-definite banded eigenproblem, of the form A*x=(lambda)*B*x. Here A and B are assumed to be Hermitian and banded, and B is also positive definite.


ARGUMENTS