function c = i4vec_uniform_ab ( n, a, b )

%*****************************************************************************80
%
%% i4vec_uniform_ab() returns a scaled pseudorandom I4VEC.
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    12 November 2006
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer N, the number of entries in the vector.
%
%    integer A, B, the minimum and maximum acceptable values.
%
%  Output:
%
%    integer C(N), the randomly chosen integer vector.
%
  c = randi ( [ a, b ], n, 1 );

  return
end
