111 SUBROUTINE ctpt06( RCOND, RCONDC, UPLO, DIAG, N, AP, RWORK, RAT )
120 REAL RAT, RCOND, RCONDC
131 parameter( zero = 0.0e+0, one = 1.0e+0 )
134 REAL ANORM, BIGNUM, EPS, RMAX, RMIN
138 EXTERNAL clantp, slamch
145 eps = slamch(
'Epsilon' )
146 rmax = max( rcond, rcondc )
147 rmin = min( rcond, rcondc )
151 IF( rmin.LT.zero )
THEN
157 ELSE IF( rmin.GT.zero )
THEN
161 rat = rmax / rmin - one
163 ELSE IF( rmax.EQ.zero )
THEN
177 bignum = one / slamch(
'Safe minimum' )
178 anorm = clantp(
'M', uplo, diag, n, ap, rwork )
180 rat = rmax*( min( bignum / max( one, anorm ), one / eps ) )
subroutine ctpt06(rcond, rcondc, uplo, diag, n, ap, rwork, rat)
CTPT06