132 SUBROUTINE stptrs( UPLO, TRANS, DIAG, N, NRHS, AP, B, LDB,
140 CHARACTER DIAG, TRANS, UPLO
141 INTEGER INFO, LDB, N, NRHS
144 REAL AP( * ), B( LDB, * )
151 parameter( zero = 0.0e+0 )
154 LOGICAL NOUNIT, UPPER
172 upper = lsame( uplo,
'U' )
173 nounit = lsame( diag,
'N' )
174 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
176 ELSE IF( .NOT.lsame( trans,
'N' ) .AND. .NOT.
177 $ lsame( trans,
'T' ) .AND.
178 $ .NOT.lsame( trans,
'C' ) )
THEN
180 ELSE IF( .NOT.nounit .AND. .NOT.lsame( diag,
'U' ) )
THEN
182 ELSE IF( n.LT.0 )
THEN
184 ELSE IF( nrhs.LT.0 )
THEN
186 ELSE IF( ldb.LT.max( 1, n ) )
THEN
190 CALL xerbla(
'STPTRS', -info )
205 IF( ap( jc+info-1 ).EQ.zero )
212 IF( ap( jc ).EQ.zero )
214 jc = jc + n - info + 1
223 CALL stpsv( uplo, trans, diag, n, ap, b( 1, j ), 1 )
subroutine stpsv(uplo, trans, diag, n, ap, x, incx)
STPSV
subroutine stptrs(uplo, trans, diag, n, nrhs, ap, b, ldb, info)
STPTRS