function r8vec_even_select_test ( )

%*****************************************************************************80
%
%% R8VEC_EVEN_SELECT_TEST tests R8VEC_EVEN_SELECT.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    01 August 2018
%
%  Author:
%
%    John Burkardt
%
  n = 10;
  xlo = 0.0;
  xhi = 99.0;
 
  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8VEC_EVEN_SELECT_TEST\n' );
  fprintf ( 1, '  R8VEC_EVEN_SELECT returns the I-th of N evenly spaced values\n' );
  fprintf ( 1, '  between XLO and XHI.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  XLO = %f\n', xlo );
  fprintf ( 1, '  XHI = %f\n', xhi );
  fprintf ( 1, '  while N = %d\n', n );
  fprintf ( 1, '\n' );
 
  for i = 2 : 3 : n
    xi = r8vec_even_select ( n, xlo, xhi, i );
    fprintf ( 1, '  X(%d) = %g\n', i, xi );
  end

  return
end
