function r8vec_entropy_test ( )

%*****************************************************************************80
%
%% R8VEC_ENTROPY_TEST tests R8VEC_ENTROPY.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    05 August 2018
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8VEC_ENTROPY_TEST\n' );
  fprintf ( 1, '  R8VEC_ENTROPY computes the entropy of an R8VEC.\n' );
 
  n = 10;
  a_min = 0.0;
  a_max = 10.0;
  seed = 123456789;

  [ a, seed ] = r8vec_uniform_ab ( n, a_min, a_max, seed );
 
  r8vec_print ( n, a, '  Input vector:' );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  Entropy = %f\n', r8vec_entropy ( n, a ) );

  return
end
