122 SUBROUTINE ctrt06( RCOND, RCONDC, UPLO, DIAG, N, A, LDA, RWORK,
133 REAL RAT, RCOND, RCONDC
144 parameter ( zero = 0.0e+0, one = 1.0e+0 )
147 REAL ANORM, BIGNUM, EPS, RMAX, RMIN
151 EXTERNAL clantr, slamch
158 eps = slamch(
'Epsilon' )
159 rmax = max( rcond, rcondc )
160 rmin = min( rcond, rcondc )
164 IF( rmin.LT.zero )
THEN
170 ELSE IF( rmin.GT.zero )
THEN
174 rat = rmax / rmin - one
176 ELSE IF( rmax.EQ.zero )
THEN
190 bignum = one / slamch(
'Safe minimum' )
191 anorm = clantr(
'M', uplo, diag, n, n, a, lda, rwork )
193 rat = rmax*( min( bignum / max( one, anorm ), one / eps ) )
subroutine ctrt06(RCOND, RCONDC, UPLO, DIAG, N, A, LDA, RWORK, RAT)
CTRT06