function r8col_uniform_abvec_test ( )

%*****************************************************************************80
%
%% r8col_uniform_abvec_test() tests r8col_uniform_abvec().
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    29 December 2014
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'r8col_uniform_abvec_test():\n' );
  fprintf ( 1, '  r8col_uniform_abvec() computes a random R8COL.\n' );
  fprintf ( 1, '\n' );

  m = 5;
  n = 4;
  a = [ 0.0, 0.20, 10.0, 52.0, -1.0 ]';
  b = [ 1.0, 0.25, 20.0, 54.0, +1.0 ]';

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

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

  return
end
