158 SUBROUTINE sspgv( ITYPE, JOBZ, UPLO, N, AP, BP, W, Z, LDZ, WORK,
167 INTEGER INFO, ITYPE, LDZ, N
170 REAL AP( * ), BP( * ), W( * ), WORK( * ),
192 wantz = lsame( jobz,
'V' )
193 upper = lsame( uplo,
'U' )
196 IF( itype.LT.1 .OR. itype.GT.3 )
THEN
198 ELSE IF( .NOT.( wantz .OR. lsame( jobz,
'N' ) ) )
THEN
200 ELSE IF( .NOT.( upper .OR. lsame( uplo,
'L' ) ) )
THEN
202 ELSE IF( n.LT.0 )
THEN
204 ELSE IF( ldz.LT.1 .OR. ( wantz .AND. ldz.LT.n ) )
THEN
208 CALL xerbla(
'SSPGV ', -info )
219 CALL spptrf( uplo, n, bp, info )
227 CALL sspgst( itype, uplo, n, ap, bp, info )
228 CALL sspev( jobz, uplo, n, ap, w, z, ldz, work, info )
237 IF( itype.EQ.1 .OR. itype.EQ.2 )
THEN
249 CALL stpsv( uplo, trans,
'Non-unit', n, bp, z( 1, j ),
253 ELSE IF( itype.EQ.3 )
THEN
265 CALL stpmv( uplo, trans,
'Non-unit', n, bp, z( 1, j ),
subroutine xerbla(srname, info)
subroutine sspev(jobz, uplo, n, ap, w, z, ldz, work, info)
SSPEV computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER matrices
subroutine sspgst(itype, uplo, n, ap, bp, info)
SSPGST
subroutine sspgv(itype, jobz, uplo, n, ap, bp, w, z, ldz, work, info)
SSPGV
subroutine spptrf(uplo, n, ap, info)
SPPTRF
subroutine stpmv(uplo, trans, diag, n, ap, x, incx)
STPMV
subroutine stpsv(uplo, trans, diag, n, ap, x, incx)
STPSV