NAME

ssyevx - compute selected eigenvalues and, optionally, eigenvectors of a real symmetric matrix A


SYNOPSIS

  SUBROUTINE SSYEVX( JOBZ, RANGE, UPLO, N, A, LDA, VL, VU, IL, IU, 
 *      ABTOL, NFOUND, W, Z, LDZ, WORK, LDWORK, IWORK2, IFAIL, INFO)
  CHARACTER * 1 JOBZ, RANGE, UPLO
  INTEGER N, LDA, IL, IU, NFOUND, LDZ, LDWORK, INFO
  INTEGER IWORK2(*), IFAIL(*)
  REAL VL, VU, ABTOL
  REAL A(LDA,*), W(*), Z(LDZ,*), WORK(*)
  SUBROUTINE SSYEVX_64( JOBZ, RANGE, UPLO, N, A, LDA, VL, VU, IL, IU, 
 *      ABTOL, NFOUND, W, Z, LDZ, WORK, LDWORK, IWORK2, IFAIL, INFO)
  CHARACTER * 1 JOBZ, RANGE, UPLO
  INTEGER*8 N, LDA, IL, IU, NFOUND, LDZ, LDWORK, INFO
  INTEGER*8 IWORK2(*), IFAIL(*)
  REAL VL, VU, ABTOL
  REAL A(LDA,*), W(*), Z(LDZ,*), WORK(*)

F95 INTERFACE

  SUBROUTINE SYEVX( JOBZ, RANGE, UPLO, [N], A, [LDA], VL, VU, IL, IU, 
 *       ABTOL, NFOUND, W, Z, [LDZ], [WORK], [LDWORK], [IWORK2], IFAIL, 
 *       [INFO])
  CHARACTER(LEN=1) :: JOBZ, RANGE, UPLO
  INTEGER :: N, LDA, IL, IU, NFOUND, LDZ, LDWORK, INFO
  INTEGER, DIMENSION(:) :: IWORK2, IFAIL
  REAL :: VL, VU, ABTOL
  REAL, DIMENSION(:) :: W, WORK
  REAL, DIMENSION(:,:) :: A, Z
  SUBROUTINE SYEVX_64( JOBZ, RANGE, UPLO, [N], A, [LDA], VL, VU, IL, 
 *       IU, ABTOL, NFOUND, W, Z, [LDZ], [WORK], [LDWORK], [IWORK2], 
 *       IFAIL, [INFO])
  CHARACTER(LEN=1) :: JOBZ, RANGE, UPLO
  INTEGER(8) :: N, LDA, IL, IU, NFOUND, LDZ, LDWORK, INFO
  INTEGER(8), DIMENSION(:) :: IWORK2, IFAIL
  REAL :: VL, VU, ABTOL
  REAL, DIMENSION(:) :: W, WORK
  REAL, DIMENSION(:,:) :: A, Z

C INTERFACE

#include <sunperf.h>

void ssyevx(char jobz, char range, char uplo, int n, float *a, int lda, float vl, float vu, int il, int iu, float abtol, int *nfound, float *w, float *z, int ldz, int *ifail, int *info);

void ssyevx_64(char jobz, char range, char uplo, long n, float *a, long lda, float vl, float vu, long il, long iu, float abtol, long *nfound, float *w, float *z, long ldz, long *ifail, long *info);


PURPOSE

ssyevx computes selected eigenvalues and, optionally, eigenvectors of a real symmetric matrix A. Eigenvalues and eigenvectors can be selected by specifying either a range of values or a range of indices for the desired eigenvalues.


ARGUMENTS