122 SUBROUTINE spbtrs( UPLO, N, KD, NRHS, AB, LDAB, B, LDB, INFO )
131 INTEGER info, kd, ldab, ldb, n, nrhs
134 REAL ab( ldab, * ), b( ldb, * )
158 upper =
lsame( uplo,
'U' )
159 IF( .NOT.upper .AND. .NOT.
lsame( uplo,
'L' ) )
THEN
161 ELSE IF( n.LT.0 )
THEN
163 ELSE IF( kd.LT.0 )
THEN
165 ELSE IF( nrhs.LT.0 )
THEN
167 ELSE IF( ldab.LT.kd+1 )
THEN
169 ELSE IF( ldb.LT.max( 1, n ) )
THEN
173 CALL
xerbla(
'SPBTRS', -info )
179 IF( n.EQ.0 .OR. nrhs.EQ.0 )
190 CALL
stbsv(
'Upper',
'Transpose',
'Non-unit', n, kd, ab,
191 $ ldab, b( 1, j ), 1 )
195 CALL
stbsv(
'Upper',
'No transpose',
'Non-unit', n, kd, ab,
196 $ ldab, b( 1, j ), 1 )
206 CALL
stbsv(
'Lower',
'No transpose',
'Non-unit', n, kd, ab,
207 $ ldab, b( 1, j ), 1 )
211 CALL
stbsv(
'Lower',
'Transpose',
'Non-unit', n, kd, ab,
212 $ ldab, b( 1, j ), 1 )