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)
XERBLA
subroutine spptrs(uplo, n, nrhs, ap, b, ldb, info)
SPPTRS
subroutine stpsv(uplo, trans, diag, n, ap, x, incx)
STPSV