117 SUBROUTINE dppequ( UPLO, N, AP, S, SCOND, AMAX, INFO )
127 DOUBLE PRECISION amax, scond
130 DOUBLE PRECISION ap( * ), s( * )
136 DOUBLE PRECISION one, zero
137 parameter( one = 1.0d+0, zero = 0.0d+0 )
142 DOUBLE PRECISION smin
152 INTRINSIC max, min, sqrt
159 upper =
lsame( uplo,
'U' )
160 IF( .NOT.upper .AND. .NOT.
lsame( uplo,
'L' ) )
THEN
162 ELSE IF( n.LT.0 )
THEN
166 CALL
xerbla(
'DPPEQU', -info )
193 smin = min( smin, s( i ) )
194 amax = max( amax, s( i ) )
206 smin = min( smin, s( i ) )
207 amax = max( amax, s( i ) )
211 IF( smin.LE.zero )
THEN
216 IF( s( i ).LE.zero )
THEN
227 s( i ) = one / sqrt( s( i ) )
232 scond = sqrt( smin ) / sqrt( amax )