NAME

dsygv - compute all the eigenvalues, and optionally, the eigenvectors of a real generalized symmetric-definite eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, or B*A*x=(lambda)*x


SYNOPSIS

  SUBROUTINE DSYGV( ITYPE, JOBZ, UPLO, N, A, LDA, B, LDB, W, WORK, 
 *      LDWORK, INFO)
  CHARACTER * 1 JOBZ, UPLO
  INTEGER ITYPE, N, LDA, LDB, LDWORK, INFO
  DOUBLE PRECISION A(LDA,*), B(LDB,*), W(*), WORK(*)
  SUBROUTINE DSYGV_64( ITYPE, JOBZ, UPLO, N, A, LDA, B, LDB, W, WORK, 
 *      LDWORK, INFO)
  CHARACTER * 1 JOBZ, UPLO
  INTEGER*8 ITYPE, N, LDA, LDB, LDWORK, INFO
  DOUBLE PRECISION A(LDA,*), B(LDB,*), W(*), WORK(*)

F95 INTERFACE

  SUBROUTINE SYGV( ITYPE, JOBZ, UPLO, [N], A, [LDA], B, [LDB], W, 
 *       [WORK], [LDWORK], [INFO])
  CHARACTER(LEN=1) :: JOBZ, UPLO
  INTEGER :: ITYPE, N, LDA, LDB, LDWORK, INFO
  REAL(8), DIMENSION(:) :: W, WORK
  REAL(8), DIMENSION(:,:) :: A, B
  SUBROUTINE SYGV_64( ITYPE, JOBZ, UPLO, [N], A, [LDA], B, [LDB], W, 
 *       [WORK], [LDWORK], [INFO])
  CHARACTER(LEN=1) :: JOBZ, UPLO
  INTEGER(8) :: ITYPE, N, LDA, LDB, LDWORK, INFO
  REAL(8), DIMENSION(:) :: W, WORK
  REAL(8), DIMENSION(:,:) :: A, B

C INTERFACE

#include <sunperf.h>

void dsygv(int itype, char jobz, char uplo, int n, double *a, int lda, double *b, int ldb, double *w, int *info);

void dsygv_64(long itype, char jobz, char uplo, long n, double *a, long lda, double *b, long ldb, double *w, long *info);


PURPOSE

dsygv computes all the eigenvalues, and optionally, the eigenvectors of a real generalized symmetric-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 symmetric and B is also

positive definite.


ARGUMENTS