function value = r8mat_is_significant ( m, n, r, s )

%*****************************************************************************80
%
%% r8mat_is_significant() determines if an R8MAT is relatively significant.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    06 February 2017
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer M, N, the dimension of the matrices.
%
%    real R(M,N), the vector to be compared against.
%
%    real S(M,N), the vector to be compared.
%
%  Output:
%
%    logical VALUE is true if S is significant
%    relative to R.
%
  value = false;

  for j = 1 : n
    for i = 1 : m

      t = r(i,j) + s(i,j);
      tol = eps * abs ( r(i,j) );

      if ( tol < abs ( r(i,j) - t ) )
        value = true;
        break
      end

    end
  end
  
  return
end
