function x = r8vec_uniform_ab ( n, a, b )

%*****************************************************************************80
%
%% r8vec_uniform_ab() returns a scaled pseudorandom R8VEC.
%
%  Discussion:
%
%    Each dimension ranges from A to B.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    31 July 2018
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer N, the number of entries in the vector.
%
%    real A, B, the range of the pseudorandom values.
%
%  Output:
%
%    real X(N,1), the vector of pseudorandom values.
%
  x = a + ( b - a ) * rand ( n, 1 );

  return
end
