116 SUBROUTINE cppequ( UPLO, N, AP, S, SCOND, AMAX, INFO )
136 parameter( one = 1.0e+0, zero = 0.0e+0 )
151 INTRINSIC max, min, real, sqrt
158 upper = lsame( uplo,
'U' )
159 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
161 ELSE IF( n.LT.0 )
THEN
165 CALL xerbla(
'CPPEQU', -info )
179 s( 1 ) = real( ap( 1 ) )
191 s( i ) = real( ap( jj ) )
192 smin = min( smin, s( i ) )
193 amax = max( amax, s( i ) )
204 s( i ) = real( ap( jj ) )
205 smin = min( smin, s( i ) )
206 amax = max( amax, s( i ) )
210 IF( smin.LE.zero )
THEN
215 IF( s( i ).LE.zero )
THEN
226 s( i ) = one / sqrt( s( i ) )
231 scond = sqrt( smin ) / sqrt( amax )
subroutine xerbla(srname, info)
subroutine cppequ(uplo, n, ap, s, scond, amax, info)
CPPEQU