134 parameter( one = 1.0e+0, zero = 0.0e+0 )
157 upper = lsame( uplo,
'U' )
158 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
160 ELSE IF( n.LT.0 )
THEN
164 CALL xerbla(
'SPPTRF', -info )
185 $
CALL stpsv(
'Upper',
'Transpose',
'Non-unit', j-1, ap,
190 ajj = ap( jj ) - sdot( j-1, ap( jc ), 1, ap( jc ), 1 )
191 IF( ajj.LE.zero )
THEN
195 ap( jj ) = sqrt( ajj )
207 IF( ajj.LE.zero )
THEN
218 CALL sscal( n-j, one / ajj, ap( jj+1 ), 1 )
219 CALL sspr(
'Lower', n-j, -one, ap( jj+1 ), 1,
subroutine xerbla(srname, info)
subroutine sspr(uplo, n, alpha, x, incx, ap)
SSPR
subroutine spptrf(uplo, n, ap, info)
SPPTRF
subroutine sscal(n, sa, sx, incx)
SSCAL
subroutine stpsv(uplo, trans, diag, n, ap, x, incx)
STPSV