function bvec = bvec_uniform ( n )

%*****************************************************************************80
%
%% bvec_uniform() returns a pseudorandom BVEC.
%
%  Discussion:
%
%    A BVEC is a vector of binary (0/1) values, representing an integer.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    31 December 2021
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer N, the order of the vector.
%
%  Output:
%
%    integer BVEC(N), a pseudorandom binary vector.
%
  bvec = randi ( [ 0, 1 ], n, 1 );

  return
end
