function l4vec = l4vec_uniform ( n )

%*****************************************************************************80
%
%% l4vec_uniform() returns a pseudorandom L4VEC.
%
%  Discussion:
%
%    An L4VEC is a vector of LOGICAL values.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    21 May 2008
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer N, the order of the vector.
%
%  Output:
%
%    logical L4VEC(N), a pseudorandom logical vector.
%
  i4vec = randi ( [ 0, 1 ], n, 1 );
  l4vec = ( i4vec == 1 );

  return
end
