120 SUBROUTINE ctrt06( RCOND, RCONDC, UPLO, DIAG, N, A, LDA, RWORK,
130 REAL RAT, RCOND, RCONDC
141 parameter( zero = 0.0e+0, one = 1.0e+0 )
144 REAL ANORM, BIGNUM, EPS, RMAX, RMIN
148 EXTERNAL clantr, slamch
155 eps = slamch(
'Epsilon' )
156 rmax = max( rcond, rcondc )
157 rmin = min( rcond, rcondc )
161 IF( rmin.LT.zero )
THEN
167 ELSE IF( rmin.GT.zero )
THEN
171 rat = rmax / rmin - one
173 ELSE IF( rmax.EQ.zero )
THEN
187 bignum = one / slamch(
'Safe minimum' )
188 anorm = clantr(
'M', uplo, diag, n, n, a, lda, rwork )
190 rat = rmax*( min( bignum / max( one, anorm ), one / eps ) )
subroutine ctrt06(rcond, rcondc, uplo, diag, n, a, lda, rwork, rat)
CTRT06