function r8poly_value_fast_test ( )

%*****************************************************************************80
%
%% R8POLY_VALUE_FAST_TEST tests R8POLY_VALUE_FAST.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    01 August 2018
%
%  Author:
%
%    John Burkardt
%
  m = 4;
  n = 16;

  c = [ 24.0, -50.0, +35.0, -10.0, 1.0 ]';

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8POLY_VALUE_FAST_TEST\n' );
  fprintf ( 1, '  R8POLY_VALUE_FAST evaluates a polynomial at\n' );
  fprintf ( 1, '  several points.\n' );

  r8poly_print ( m, c, '  The polynomial coefficients:' );

  x_lo = 0.0;
  x_hi = 5.0;
  x = r8vec_linspace ( n, x_lo, x_hi );
  p = r8poly_value_fast ( m, c, n, x );

  r8vec2_print ( n, x, p, '  Table of values i, x(i), p(x(i)):' );

  return
end
