120 SUBROUTINE spbtrs( UPLO, N, KD, NRHS, AB, LDAB, B, LDB, INFO )
128 INTEGER INFO, KD, LDAB, LDB, N, NRHS
131 REAL AB( LDAB, * ), B( LDB, * )
155 upper = lsame( uplo,
'U' )
156 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
158 ELSE IF( n.LT.0 )
THEN
160 ELSE IF( kd.LT.0 )
THEN
162 ELSE IF( nrhs.LT.0 )
THEN
164 ELSE IF( ldab.LT.kd+1 )
THEN
166 ELSE IF( ldb.LT.max( 1, n ) )
THEN
170 CALL xerbla(
'SPBTRS', -info )
176 IF( n.EQ.0 .OR. nrhs.EQ.0 )
187 CALL stbsv(
'Upper',
'Transpose',
'Non-unit', n, kd, ab,
188 $ ldab, b( 1, j ), 1 )
192 CALL stbsv(
'Upper',
'No transpose',
'Non-unit', n, kd, ab,
193 $ ldab, b( 1, j ), 1 )
203 CALL stbsv(
'Lower',
'No transpose',
'Non-unit', n, kd, ab,
204 $ ldab, b( 1, j ), 1 )
208 CALL stbsv(
'Lower',
'Transpose',
'Non-unit', n, kd, ab,
209 $ ldab, b( 1, j ), 1 )
subroutine xerbla(srname, info)
subroutine spbtrs(uplo, n, kd, nrhs, ab, ldab, b, ldb, info)
SPBTRS
subroutine stbsv(uplo, trans, diag, n, k, a, lda, x, incx)
STBSV