function value = i4mat_max ( m, n, a )

%*****************************************************************************80
%
%% i4mat_max() returns the maximum of an I4MAT.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    18 April 2005
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer M, the number of rows in A.
%
%    integer N, the number of columns in A.
%
%    integer A(M,N), the M by N matrix.
%
%  Output:
%
%    integer VALUE, the maximum entry of A.
%
  value = max ( max ( a(1:m,1:n) ) );

  return
end
