function x = r8col_uniform_ab ( m, n, a, b )

%*****************************************************************************80
%
%% r8col_uniform_ab() returns a scaled pseudorandom R8COL.
%
%  Discussion:
%
%    An R8COL is an M by N array of R8's, regarded as an array of N columns,
%    each of length M.
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    19 January 2021
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer M, N, the number of rows and columns in the array.
%
%    real A, B, the range of the pseudorandom values.
%
%  Output:
%
%    real R(M,N), an array of random values between 0 and 1.
%
  x = a + ( b - a ) * rand ( m, n );

  return
end

