function x = r82_uniform_ab ( a, b )

%*****************************************************************************80
%
%% r82_uniform_ab() returns a random R82 in a given range.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    20 April 2005
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real A, B, the minimum and maximum values.
%
%  Output:
%
%    real X(2), the randomly chosen values.
%
  x = rand ( 2, 1 );

  x = a + ( b - a ) * x;

  return
end
