function v_polynomial_coefficients_test ( )

%*****************************************************************************80
%
%% v_polynomial_coefficients_test() tests v_polynomial_coefficients().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    16 July 2015
%
%  Author:
%
%    John Burkardt
%
  n = 5;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'v_polynomial_coefficients_test():\n' );
  fprintf ( 1, '  v_polynomial_coefficients() determines the Chebyshev \n' );
  fprintf ( 1, '  polynomial coefficients.\n' );

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

  return
end
