function t_polynomial_coefficient_table_test ( )

%*****************************************************************************80
%
%% t_polynomial_coefficient_table_test() tests t_polynomial_coefficient_table().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    19 November 2019
%
%  Author:
%
%    John Burkardt
%
  n = 5;

  fprintf ( 1, '\n' );
  fprintf ( 1, 't_polynomial_coefficient_table_test():\n' );
  fprintf ( 1, '  t_polynomial_coefficient_table() determines a table of \n' )'
  fprintf ( 1, '  coefficients for T(0:n,x).\n' );

  c = t_polynomial_coefficient_table ( n );
 
  for i = 0 : n
    for j = 0 : i
      c2(j+1) = c(i+1,j+1);
    end
    r8poly_print ( c2, '' );
  end

  return
end
