code: protected boolean isZero( int index ) {
          double bottom = Math.abs(diag[index])+Math.abs(diag[index+1]);
  
          return( Math.abs(off[index]) <= bottom*UtilEjml.EPS);
      }
docs: Checks to see if the specified off diagonal element is zero using a relative metric.