function r8row_uniform_abvec_test ( )

%*****************************************************************************80
%
%% r8row_uniform_abvec_test() tests r8row_uniform_abvec().
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    29 December 2014
%
%  Author:
%
%    John Burkardt
%
  m = 4;
  n = 5;
  a = [ 0.0, 0.20, 10.0, 52.0, -1.0 ]';
  b = [ 1.0, 0.25, 20.0, 54.0, +1.0 ]';
 
  fprintf ( 1, '\n' );
  fprintf ( 1, 'r8row_uniform_abvec_test():\n' );
  fprintf ( 1, '  r8row_uniform_abvec() computes a random R8ROW.\n' );
  fprintf ( 1, '\n' );

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

  fprintf ( 1, '\n' );
  for j = 1 : n
    fprintf ( 1, '  %8.4f', b(j) );
  end
  fprintf ( 1, '\n' );
  fprintf ( 1, '\n' );
  for i = 1 : m
    for j = 1 : n
      fprintf ( 1, '  %8.4f', v(i,j) );
    end
    fprintf ( 1, '\n' );
  end
  fprintf ( 1, '\n' );
  for j = 1 : n
    fprintf ( 1, '  %8.4f', a(j) );
  end
  fprintf ( 1, '\n' );

  return
end
