122 SUBROUTINE zpbtrs( UPLO, N, KD, NRHS, AB, LDAB, B, LDB, INFO )
131 INTEGER info, kd, ldab, ldb, n, nrhs
134 COMPLEX*16 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(
'ZPBTRS', -info )
179 IF( n.EQ.0 .OR. nrhs.EQ.0 )
190 CALL
ztbsv(
'Upper',
'Conjugate transpose',
'Non-unit', n,
191 $ kd, ab, ldab, b( 1, j ), 1 )
195 CALL
ztbsv(
'Upper',
'No transpose',
'Non-unit', n, kd, ab,
196 $ ldab, b( 1, j ), 1 )
206 CALL
ztbsv(
'Lower',
'No transpose',
'Non-unit', n, kd, ab,
207 $ ldab, b( 1, j ), 1 )
211 CALL
ztbsv(
'Lower',
'Conjugate transpose',
'Non-unit', n,
212 $ kd, ab, ldab, b( 1, j ), 1 )