function value = r8mat_maxcol_minrow ( m, n, a )

%*****************************************************************************80
%
%% r8mat_maxcol_minrow() gets the maximum column minimum row of an R8MAT.
%
%  Discussion:
%
%    value = max ( 1 <= I <= N ) ( min ( 1 <= J <= M ) A(I,J) )
%
%    For a given matrix, MAT_MAXCOL_MINROW <= MAT_MINROW_MAXCOL
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    11 December 2004
%
%  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 maximum column
%    minimum row entry of A.
%
  value = max ( min ( a(1:m,1:n)' ) );

  return
end
