108 REAL AYB( N, NRHS ), BERR( NRHS )
109 COMPLEX RES( N, NRHS )
120 INTRINSIC abs, real, aimag, max
131 cabs1( cdum ) = abs( real( cdum ) ) + abs( aimag( cdum ) )
139 safe1 = slamch(
'Safe minimum' )
145 IF (ayb(i,j) .NE. 0.0)
THEN
146 tmp = (safe1 + cabs1(res(i,j)))/ayb(i,j)
147 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.