function value = r8vec_is_integer ( n, a )

%*****************************************************************************80
%
%% r8vec_is_integer() is TRUE if all entries are integer.
%
%  Discussion:
%
%    An R8VEC is a vector of R8's.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    07 April 2018
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer N, the number of entries.
%
%    real A(N), the vector.
%
%  Output:
%
%    logical VALUE, is true if all entries are integer.
%
  value = all ( a(1:n) == round ( a(1:n) ) );

  return
end
