129 SUBROUTINE cpbequ( UPLO, N, KD, AB, LDAB, S, SCOND, AMAX, INFO )
137 INTEGER INFO, KD, LDAB, N
142 COMPLEX AB( LDAB, * )
149 parameter( zero = 0.0e+0, one = 1.0e+0 )
164 INTRINSIC max, min, real, 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(
'CPBEQU', -info )
202 s( 1 ) = real( ab( j, 1 ) )
209 s( i ) = real( 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 cpbequ(uplo, n, kd, ab, ldab, s, scond, amax, info)
CPBEQU