function value = i4vec_is_zero ( n, x )

%*****************************************************************************80
%
%% I4VEC_IS_ZERO is true if all entries of an I4VEC are 0
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    31 March 2018
%
%  Author:
%
%    John Burkardt
%
%  Parameters:
%
%    Input, integer N, the dimension of the vectors.
%
%    Input, integer X(N), the vector to be compared against.
%
%    Output, logical VALUE, is true if all entries of X are 0.
%
  value = all ( x(1:n) == 0 );

  return
end
