107 SUBROUTINE spptrs( UPLO, N, NRHS, AP, B, LDB, INFO )
115 INTEGER INFO, LDB, N, NRHS
118 REAL AP( * ), B( LDB, * )
142 upper = lsame( uplo,
'U' )
143 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
145 ELSE IF( n.LT.0 )
THEN
147 ELSE IF( nrhs.LT.0 )
THEN
149 ELSE IF( ldb.LT.max( 1, n ) )
THEN
153 CALL xerbla(
'SPPTRS', -info )
159 IF( n.EQ.0 .OR. nrhs.EQ.0 )
170 CALL stpsv(
'Upper',
'Transpose',
'Non-unit', n, ap,
175 CALL stpsv(
'Upper',
'No transpose',
'Non-unit', n, ap,
186 CALL stpsv(
'Lower',
'No transpose',
'Non-unit', n, ap,
191 CALL stpsv(
'Lower',
'Transpose',
'Non-unit', n, ap,
subroutine xerbla(srname, info)
subroutine spptrs(uplo, n, nrhs, ap, b, ldb, info)
SPPTRS
subroutine stpsv(uplo, trans, diag, n, ap, x, incx)
STPSV