115 SUBROUTINE dppequ( UPLO, N, AP, S, SCOND, AMAX, INFO )
124 DOUBLE PRECISION AMAX, SCOND
127 DOUBLE PRECISION AP( * ), S( * )
133 DOUBLE PRECISION ONE, ZERO
134 parameter( one = 1.0d+0, zero = 0.0d+0 )
139 DOUBLE PRECISION SMIN
149 INTRINSIC max, min, sqrt
156 upper = lsame( uplo,
'U' )
157 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
159 ELSE IF( n.LT.0 )
THEN
163 CALL xerbla(
'DPPEQU', -info )
190 smin = min( smin, s( i ) )
191 amax = max( amax, s( i ) )
203 smin = min( smin, s( i ) )
204 amax = max( amax, s( i ) )
208 IF( smin.LE.zero )
THEN
213 IF( s( i ).LE.zero )
THEN
224 s( i ) = one / sqrt( s( i ) )
229 scond = sqrt( smin ) / sqrt( amax )
subroutine xerbla(srname, info)
subroutine dppequ(uplo, n, ap, s, scond, amax, info)
DPPEQU