128 SUBROUTINE dpbequ( UPLO, N, KD, AB, LDAB, S, SCOND, AMAX, INFO )
136 INTEGER INFO, KD, LDAB, N
137 DOUBLE PRECISION AMAX, SCOND
140 DOUBLE PRECISION AB( LDAB, * ), S( * )
146 DOUBLE PRECISION ZERO, ONE
147 parameter( zero = 0.0d+0, one = 1.0d+0 )
152 DOUBLE PRECISION SMIN
162 INTRINSIC max, min, sqrt
169 upper = lsame( uplo,
'U' )
170 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
172 ELSE IF( n.LT.0 )
THEN
174 ELSE IF( kd.LT.0 )
THEN
176 ELSE IF( ldab.LT.kd+1 )
THEN
180 CALL xerbla(
'DPBEQU', -info )
208 smin = min( smin, s( i ) )
209 amax = max( amax, s( i ) )
212 IF( smin.LE.zero )
THEN
217 IF( s( i ).LE.zero )
THEN
228 s( i ) = one / sqrt( s( i ) )
233 scond = sqrt( smin ) / sqrt( amax )
subroutine xerbla(srname, info)
subroutine dpbequ(uplo, n, kd, ab, ldab, s, scond, amax, info)
DPBEQU