110 DOUBLE PRECISION AYB( N, NRHS ), BERR( NRHS )
111 DOUBLE PRECISION RES( N, NRHS )
125 DOUBLE PRECISION DLAMCH
126 DOUBLE PRECISION SAFE1
134 safe1 = dlamch(
'Safe minimum' )
140 IF (ayb(i,j) .NE. 0.0d+0)
THEN
141 tmp = (safe1+abs(res(i,j)))/ayb(i,j)
142 berr(j) = max( berr(j), tmp )
subroutine dla_lin_berr(n, nz, nrhs, res, ayb, berr)
DLA_LIN_BERR computes a component-wise relative backward error.
double precision function dlamch(cmach)
DLAMCH