118 SUBROUTINE cppequ( UPLO, N, AP, S, SCOND, AMAX, INFO )
139 parameter ( one = 1.0e+0, zero = 0.0e+0 )
154 INTRINSIC max, min,
REAL, SQRT
161 upper = lsame( uplo,
'U' )
162 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
164 ELSE IF( n.LT.0 )
THEN
168 CALL xerbla(
'CPPEQU', -info )
182 s( 1 ) =
REAL( AP( 1 ) )
194 s( i ) =
REAL( AP( JJ ) )
195 smin = min( smin, s( i ) )
196 amax = max( amax, s( i ) )
207 s( i ) =
REAL( AP( JJ ) )
208 smin = min( smin, s( i ) )
209 amax = max( amax, s( i ) )
213 IF( smin.LE.zero )
THEN
218 IF( s( i ).LE.zero )
THEN
229 s( i ) = one / sqrt( s( i ) )
234 scond = sqrt( smin ) / sqrt( amax )
subroutine xerbla(SRNAME, INFO)
XERBLA
subroutine cppequ(UPLO, N, AP, S, SCOND, AMAX, INFO)
CPPEQU