function r8mat_min_test ( )

%*****************************************************************************80
%
%% R8MAT_MIN_TEST tests R8MAT_MIN.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    19 April 2009
%
%  Author:
%
%    John Burkardt
%
  m = 5;
  n = 3;

  b = 0.0;
  c = 10.0;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8MAT_MIN_TEST\n' );
  fprintf ( 1, '  For a real matrix,\n' );
  fprintf ( 1, '  R8MAT_MIN computes the minimum value;\n' );
 
  seed = 123456789;

  [ a, seed ] = r8mat_uniform_ab ( m, n, b, c, seed );
 
  r8mat_print ( m, n, a, '  Random array:' );
 
  temp = r8mat_min ( m, n, a );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  Minimum value = %f\n', temp );

  return
end
