118 SUBROUTINE zpoequb( N, A, LDA, S, SCOND, AMAX, INFO )
126 DOUBLE PRECISION AMAX, SCOND
129 COMPLEX*16 A( LDA, * )
130 DOUBLE PRECISION S( * )
136 DOUBLE PRECISION ZERO, ONE
137 parameter( zero = 0.0d+0, one = 1.0d+0 )
141 DOUBLE PRECISION SMIN, BASE, TMP
144 DOUBLE PRECISION DLAMCH
151 INTRINSIC max, min, sqrt, log, int, real, dimag
162 ELSE IF( lda.LT.max( 1, n ) )
THEN
166 CALL xerbla(
'ZPOEQUB', -info )
179 tmp = -0.5d+0 / log( base )
183 s( 1 ) = dble( a( 1, 1 ) )
187 s( i ) = dble( a( i, i ) )
188 smin = min( smin, s( i ) )
189 amax = max( amax, s( i ) )
192 IF( smin.LE.zero )
THEN
197 IF( s( i ).LE.zero )
THEN
208 s( i ) = base ** int( tmp * log( s( i ) ) )
213 scond = sqrt( smin ) / sqrt( amax )
subroutine xerbla(srname, info)
subroutine zpoequb(n, a, lda, s, scond, amax, info)
ZPOEQUB