NAME

dspgv - 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 DSPGV( ITYPE, JOBZ, UPLO, N, A, B, W, Z, LDZ, WORK, INFO)
  CHARACTER * 1 JOBZ, UPLO
  INTEGER ITYPE, N, LDZ, INFO
  DOUBLE PRECISION A(*), B(*), W(*), Z(LDZ,*), WORK(*)
  SUBROUTINE DSPGV_64( ITYPE, JOBZ, UPLO, N, A, B, W, Z, LDZ, WORK, 
 *      INFO)
  CHARACTER * 1 JOBZ, UPLO
  INTEGER*8 ITYPE, N, LDZ, INFO
  DOUBLE PRECISION A(*), B(*), W(*), Z(LDZ,*), WORK(*)

F95 INTERFACE

  SUBROUTINE SPGV( ITYPE, JOBZ, UPLO, [N], A, B, W, Z, [LDZ], [WORK], 
 *       [INFO])
  CHARACTER(LEN=1) :: JOBZ, UPLO
  INTEGER :: ITYPE, N, LDZ, INFO
  REAL(8), DIMENSION(:) :: A, B, W, WORK
  REAL(8), DIMENSION(:,:) :: Z
  SUBROUTINE SPGV_64( ITYPE, JOBZ, UPLO, [N], A, B, W, Z, [LDZ], [WORK], 
 *       [INFO])
  CHARACTER(LEN=1) :: JOBZ, UPLO
  INTEGER(8) :: ITYPE, N, LDZ, INFO
  REAL(8), DIMENSION(:) :: A, B, W, WORK
  REAL(8), DIMENSION(:,:) :: Z

C INTERFACE

#include <sunperf.h>

void dspgv(int itype, char jobz, char uplo, int n, double *a, double *b, double *w, double *z, int ldz, int *info);

void dspgv_64(long itype, char jobz, char uplo, long n, double *a, double *b, double *w, double *z, long ldz, long *info);


PURPOSE

dspgv 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, stored in packed format, and B is also positive definite.


ARGUMENTS