110 REAL AYB( N, NRHS ), BERR( NRHS )
134 safe1 = slamch(
'Safe minimum' )
140 IF (ayb(i,j) .NE. 0.0)
THEN
141 tmp = (safe1+abs(res(i,j)))/ayb(i,j)
142 berr(j) = max( berr(j), tmp )
subroutine sla_lin_berr(n, nz, nrhs, res, ayb, berr)
SLA_LIN_BERR computes a component-wise relative backward error.
real function slamch(cmach)
SLAMCH