120 SUBROUTINE cpbtrs( UPLO, N, KD, NRHS, AB, LDAB, B, LDB, INFO )
128 INTEGER INFO, KD, LDAB, LDB, N, NRHS
131 COMPLEX 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(
'CPBTRS', -info )
176 IF( n.EQ.0 .OR. nrhs.EQ.0 )
187 CALL ctbsv(
'Upper',
'Conjugate transpose',
'Non-unit', n,
188 $ kd, ab, ldab, b( 1, j ), 1 )
192 CALL ctbsv(
'Upper',
'No transpose',
'Non-unit', n, kd, ab,
193 $ ldab, b( 1, j ), 1 )
203 CALL ctbsv(
'Lower',
'No transpose',
'Non-unit', n, kd, ab,
204 $ ldab, b( 1, j ), 1 )
208 CALL ctbsv(
'Lower',
'Conjugate transpose',
'Non-unit', n,
209 $ kd, ab, ldab, b( 1, j ), 1 )
subroutine xerbla(srname, info)
subroutine cpbtrs(uplo, n, kd, nrhs, ab, ldab, b, ldb, info)
CPBTRS
subroutine ctbsv(uplo, trans, diag, n, k, a, lda, x, incx)
CTBSV