141 SUBROUTINE zpbtf2( UPLO, N, KD, AB, LDAB, INFO )
149 INTEGER INFO, KD, LDAB, N
152 COMPLEX*16 AB( LDAB, * )
158 DOUBLE PRECISION ONE, ZERO
159 parameter( one = 1.0d+0, zero = 0.0d+0 )
174 INTRINSIC dble, max, min, sqrt
181 upper = lsame( uplo,
'U' )
182 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
184 ELSE IF( n.LT.0 )
THEN
186 ELSE IF( kd.LT.0 )
THEN
188 ELSE IF( ldab.LT.kd+1 )
THEN
192 CALL xerbla(
'ZPBTF2', -info )
201 kld = max( 1, ldab-1 )
211 ajj = dble( ab( kd+1, j ) )
212 IF( ajj.LE.zero )
THEN
224 CALL zdscal( kn, one / ajj, ab( kd, j+1 ), kld )
225 CALL zlacgv( kn, ab( kd, j+1 ), kld )
226 CALL zher(
'Upper', kn, -one, ab( kd, j+1 ), kld,
227 $ ab( kd+1, j+1 ), kld )
228 CALL zlacgv( kn, ab( kd, j+1 ), kld )
239 ajj = dble( ab( 1, j ) )
240 IF( ajj.LE.zero )
THEN
252 CALL zdscal( kn, one / ajj, ab( 2, j ), 1 )
253 CALL zher(
'Lower', kn, -one, ab( 2, j ), 1,
254 $ ab( 1, j+1 ), kld )
subroutine xerbla(srname, info)
subroutine zher(uplo, n, alpha, x, incx, a, lda)
ZHER
subroutine zlacgv(n, x, incx)
ZLACGV conjugates a complex vector.
subroutine zpbtf2(uplo, n, kd, ab, ldab, info)
ZPBTF2 computes the Cholesky factorization of a symmetric/Hermitian positive definite band matrix (un...
subroutine zdscal(n, da, zx, incx)
ZDSCAL