112 SUBROUTINE zpoequ( N, A, LDA, S, SCOND, AMAX, INFO )
120 DOUBLE PRECISION AMAX, SCOND
123 DOUBLE PRECISION S( * )
124 COMPLEX*16 A( LDA, * )
130 DOUBLE PRECISION ZERO, ONE
131 parameter( zero = 0.0d+0, one = 1.0d+0 )
135 DOUBLE PRECISION SMIN
141 INTRINSIC dble, max, min, sqrt
150 ELSE IF( lda.LT.max( 1, n ) )
THEN
154 CALL xerbla(
'ZPOEQU', -info )
168 s( 1 ) = dble( a( 1, 1 ) )
172 s( i ) = dble( a( i, i ) )
173 smin = min( smin, s( i ) )
174 amax = max( amax, s( i ) )
177 IF( smin.LE.zero )
THEN
182 IF( s( i ).LE.zero )
THEN
193 s( i ) = one / sqrt( s( i ) )
198 scond = sqrt( smin ) / sqrt( amax )
subroutine xerbla(srname, info)
subroutine zpoequ(n, a, lda, s, scond, amax, info)
ZPOEQU