function value = r8mat_minrow_maxcol ( m, n, a )

%*****************************************************************************80
%
%% r8mat_minrow_maxcol() gets the minimum row maximum column of an R8MAT.
%
%  Discussion:
%
%    value = min ( 1 <= J <= N ) ( max ( 1 <= I <= M ) A(I,J) )
%
%    For a given matrix, R8MAT_MAXCOL_MINROW <= R8MAT_MINROW_MAXCOL
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    15 May 2005
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer M, the number of rows in A.
%
%    integer N, the number of columns in A.
%
%    real A(M,N), the matrix.
%
%  Output:
%
%    real VALUE, the minimum row
%    maximum column entry of A.
%
  value = min ( max ( a(1:m,1:n) ) );

  return
end
