function value = i4vec_is_nonzero_any ( n, a )

%*****************************************************************************80
%
%% i4vec_is_nonzero_any() is true if ( any A nonzero ) for I4VEC's.
%
%  Discussion:
%
%    An I4VEC is a vector of I4's.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    25 December 2011
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer N, the number of entries.
%
%    integer A(N), the vector.
%
%  Output:
%
%    logical VALUE is true if any entry is nonzero.
%
  value = any ( a(1:n) ~= 0 );

  return
end
