NAME

csteqr - compute all eigenvalues and, optionally, eigenvectors of a symmetric tridiagonal matrix using the implicit QL or QR method


SYNOPSIS

  SUBROUTINE CSTEQR( COMPZ, N, D, E, Z, LDZ, WORK, INFO)
  CHARACTER * 1 COMPZ
  COMPLEX Z(LDZ,*)
  INTEGER N, LDZ, INFO
  REAL D(*), E(*), WORK(*)
  SUBROUTINE CSTEQR_64( COMPZ, N, D, E, Z, LDZ, WORK, INFO)
  CHARACTER * 1 COMPZ
  COMPLEX Z(LDZ,*)
  INTEGER*8 N, LDZ, INFO
  REAL D(*), E(*), WORK(*)

F95 INTERFACE

  SUBROUTINE STEQR( COMPZ, [N], D, E, Z, [LDZ], [WORK], [INFO])
  CHARACTER(LEN=1) :: COMPZ
  COMPLEX, DIMENSION(:,:) :: Z
  INTEGER :: N, LDZ, INFO
  REAL, DIMENSION(:) :: D, E, WORK
  SUBROUTINE STEQR_64( COMPZ, [N], D, E, Z, [LDZ], [WORK], [INFO])
  CHARACTER(LEN=1) :: COMPZ
  COMPLEX, DIMENSION(:,:) :: Z
  INTEGER(8) :: N, LDZ, INFO
  REAL, DIMENSION(:) :: D, E, WORK

C INTERFACE

#include <sunperf.h>

void csteqr(char compz, int n, float *d, float *e, complex *z, int ldz, int *info);

void csteqr_64(char compz, long n, float *d, float *e, complex *z, long ldz, long *info);


PURPOSE

csteqr computes all eigenvalues and, optionally, eigenvectors of a symmetric tridiagonal matrix using the implicit QL or QR method. The eigenvectors of a full or band complex Hermitian matrix can also be found if CHETRD or CHPTRD or CHBTRD has been used to reduce this matrix to tridiagonal form.


ARGUMENTS