110 REAL AYB( N, NRHS ), BERR( NRHS )
111 COMPLEX RES( N, NRHS )
122 INTRINSIC abs, real, aimag, max
133 cabs1( cdum ) = abs( real( cdum ) ) + abs( aimag( cdum ) )
141 safe1 = slamch(
'Safe minimum' )
147 IF (ayb(i,j) .NE. 0.0)
THEN
148 tmp = (safe1 + cabs1(res(i,j)))/ayb(i,j)
149 berr(j) = max( berr(j), tmp )
subroutine cla_lin_berr(n, nz, nrhs, res, ayb, berr)
CLA_LIN_BERR computes a component-wise relative backward error.
real function slamch(cmach)
SLAMCH