function r8mat_uniform_abvec_test ( )

%*****************************************************************************80
%
%% r8mat_uniform_abvec_test() tests r8mat_uniform_abvec().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    30 November 2021
%
%  Author:
%
%    John Burkardt
%
  m = 5;
  n = 4;
  a = [  2.0; 0.0; -1.0; 100.0; 0.1 ];
  b = [ 10.0; 1.0;  0.0; 110.0; 0.2 ];

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8MAT_UNIFORM_ABVEC_TEST\n' );
  fprintf ( 1, '  R8MAT_UNIFORM_ABVEC sets an R8MAT to random values in [A,B]\n' );
  fprintf ( 1, '  where A and B are vectors of row limits.\n' );

  r8vec2_print ( a, b, '  Lower and upper row limits:' );

  v = r8mat_uniform_abvec ( m, n, a, b );

  r8mat_print ( m, n, v, '  The random matrix:' );

  return
end
