114 SUBROUTINE cpoequ( N, A, LDA, S, SCOND, AMAX, INFO )
134 parameter( zero = 0.0e+0, one = 1.0e+0 )
144 INTRINSIC max, min,
REAL, sqrt
153 ELSE IF( lda.LT.max( 1, n ) )
THEN
157 CALL
xerbla(
'CPOEQU', -info )
171 s( 1 ) =
REAL( A( 1, 1 ) )
175 s( i ) =
REAL( A( I, I ) )
176 smin = min( smin, s( i ) )
177 amax = max( amax, s( i ) )
180 IF( smin.LE.zero )
THEN
185 IF( s( i ).LE.zero )
THEN
196 s( i ) = one / sqrt( s( i ) )
201 scond = sqrt( smin ) / sqrt( amax )