function value = r8mat_mincol_maxrow ( m, n, a )

%*****************************************************************************80
%
%% r8mat_mincol_maxrow() gets the minimum column maximum row of an R8MAT.
%
%  Discussion:
%
%    value = min ( 1 <= I <= N ) ( max ( 1 <= J <= M ) A(I,J) )
%
%    For a given matrix, R8MAT_MAXROW_MINCOL <= R8MAT_MINCOL_MAXROW
%
%  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 column
%    maximum row entry of A.
%
  value = max ( min ( a(1:m,1:n)' ) );

  return
end
