118 SUBROUTINE cpoequb( N, A, LDA, S, SCOND, AMAX, INFO )
137 parameter( zero = 0.0e+0, one = 1.0e+0 )
151 INTRINSIC max, min, sqrt, log, int
162 ELSE IF( lda.LT.max( 1, n ) )
THEN
166 CALL xerbla(
'CPOEQUB', -info )
179 tmp = -0.5 / log( base )
183 s( 1 ) = real( a( 1, 1 ) )
187 s( i ) = real( 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 cpoequb(n, a, lda, s, scond, amax, info)
CPOEQUB