function hermite_poly_phys_test ( )

%*****************************************************************************80
%
%% HERMITE_POLY_PHYS_TEST tests HERMITE_POLY_PHYS.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    19 October 2008
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'HERMITE_POLY_PHYS_TEST:\n' );
  fprintf ( 1, '  HERMITE_POLY_PHYS evaluates the Hermite physicist polynomials.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '       N      X        Exact F       H(N)(X)\n' );
  fprintf ( 1, '\n' );

  n_data = 0;

  while ( true )

    [ n_data, n, x, fx ] = hermite_poly_phys_values ( n_data );

    if ( n_data == 0 )
      break
    end

    fx2 = hermite_poly_phys ( n, x );

    fprintf ( 1, '  %6d  %6.2f  %12e  %12e\n', n, x, fx, fx2(n+1) );

  end

  return
end
