129 SUBROUTINE zpbequ( UPLO, N, KD, AB, LDAB, S, SCOND, AMAX, INFO )
137 INTEGER INFO, KD, LDAB, N
138 DOUBLE PRECISION AMAX, SCOND
141 DOUBLE PRECISION S( * )
142 COMPLEX*16 AB( LDAB, * )
148 DOUBLE PRECISION ZERO, ONE
149 parameter( zero = 0.0d+0, one = 1.0d+0 )
154 DOUBLE PRECISION SMIN
164 INTRINSIC dble, max, min, sqrt
171 upper = lsame( uplo,
'U' )
172 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
174 ELSE IF( n.LT.0 )
THEN
176 ELSE IF( kd.LT.0 )
THEN
178 ELSE IF( ldab.LT.kd+1 )
THEN
182 CALL xerbla(
'ZPBEQU', -info )
202 s( 1 ) = dble( ab( j, 1 ) )
209 s( i ) = dble( ab( j, i ) )
210 smin = min( smin, s( i ) )
211 amax = max( amax, s( i ) )
214 IF( smin.LE.zero )
THEN
219 IF( s( i ).LE.zero )
THEN
230 s( i ) = one / sqrt( s( i ) )
235 scond = sqrt( smin ) / sqrt( amax )
subroutine xerbla(srname, info)
subroutine zpbequ(uplo, n, kd, ab, ldab, s, scond, amax, info)
ZPBEQU