function p_polynomial_prime_test ( )

%*****************************************************************************80
%
%% p_polynomial_prime_test() tests p_polynomial_prime().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    03 May 2013
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'p_polynomial_prime_test():\n' );
  fprintf ( 1, '  p_polynomial_prime() evaluates the derivative of\n' );
  fprintf ( 1, '  the Legendre polynomial P(N,X).\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '                                      Computed\n' );
  fprintf ( 1, '     N        X                         P''(N,X)\n' );

  m = 11;
  n = 5;
  x = linspace ( -1.0, +1.0, m );
  pp = p_polynomial_prime ( m, n, x );

  for i = 1 : m
    fprintf ( 1, '\n' );
    for j = 0 : n
      fprintf ( 1, '  %4d  %12f  %24g\n', j, x(i), pp(i,j+1) );
    end
  end

  return
end
