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 )
subroutine xerbla(SRNAME, INFO)
XERBLA
subroutine dppequ(UPLO, N, AP, S, SCOND, AMAX, INFO)
DPPEQU