function c = i4mat_uniform_ab ( m, n, a, b )

%*****************************************************************************80
%
%% i4mat_uniform_ab() returns a scaled pseudorandom I4MAT.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    12 November 2006
%
%  Author:
%
%    John Burkardt
%
%  Reference:
%
%    Paul Bratley, Bennett Fox, Linus Schrage,
%    A Guide to Simulation,
%    Springer Verlag, pages 201-202, 1983.
%
%    Pierre L'Ecuyer,
%    Random Number Generation,
%    in Handbook of Simulation,
%    edited by Jerry Banks,
%    Wiley Interscience, page 95, 1998.
%
%    Bennett Fox,
%    Algorithm 647:
%    Implementation and Relative Efficiency of Quasirandom
%    Sequence Generators,
%    ACM Transactions on Mathematical Software,
%    Volume 12, Number 4, pages 362-376, 1986.
%
%    Peter Lewis, Allen Goodman, James Miller
%    A Pseudo-Random Number Generator for the System/360,
%    IBM Systems Journal,
%    Volume 8, pages 136-143, 1969.
%
%  Input:
%
%    integer M, N, the row and column dimensions of the matrix.
%
%    integer A, B, the minimum and maximum acceptable values.
%
%  Output:
%
%    integer C(M,N), the randomly chosen integer vector.
%
  c = randi ( [ a, b ], m, n );

  return
end

