120 SUBROUTINE zptcon( N, D, E, ANORM, RCOND, RWORK, INFO )
129 DOUBLE PRECISION ANORM, RCOND
132 DOUBLE PRECISION D( * ), RWORK( * )
139 DOUBLE PRECISION ONE, ZERO
140 parameter ( one = 1.0d+0, zero = 0.0d+0 )
144 DOUBLE PRECISION AINVNM
163 ELSE IF( anorm.LT.zero )
THEN
167 CALL xerbla(
'ZPTCON', -info )
177 ELSE IF( anorm.EQ.zero )
THEN
199 rwork( i ) = one + rwork( i-1 )*abs( e( i-1 ) )
204 rwork( n ) = rwork( n ) / d( n )
205 DO 30 i = n - 1, 1, -1
206 rwork( i ) = rwork( i ) / d( i ) + rwork( i+1 )*abs( e( i ) )
211 ix = idamax( n, rwork, 1 )
212 ainvnm = abs( rwork( ix ) )
217 $ rcond = ( one / ainvnm ) / anorm
subroutine xerbla(SRNAME, INFO)
XERBLA
subroutine zptcon(N, D, E, ANORM, RCOND, RWORK, INFO)
ZPTCON