16 April 2024 4:47:23.125 PM polynomial_conversion_test(): Fortran77 version Test polynomial_conversion(). chebyshev_to_monomial_test ( ) chebyshev_to_monomial() converts a polynomial from Chebyshev form to monomial form. X**0 X**1 X**2 X**3 X**4 X**5 X**6 T0(x) = 1.000 T1(x) = 0.000 1.000 T2(x) = -1.000 0.000 2.000 T3(x) = 0.000 -3.000 0.000 4.000 T4(x) = 1.000 0.000 -8.000 0.000 8.000 T5(x) = 0.000 5.000 0.000 -20.000 0.000 16.000 T6(x) = -1.000 0.000 18.000 0.000 -48.000 0.000 32.000 monomial_to_chebyshev_test ( ) monomial_to_chebyshev() converts a polynomial from monomial form to Chebyshev form. T0(x) T1(x) T2(x) T3(x) T4(x) T5(x) T6(x) X**0 = 2.00000 X**1 = 0.00000 1.00000 X**2 = 0.50000 0.00000 0.50000 X**3 = 0.00000 0.75000 0.00000 0.25000 X**4 = 0.37500 0.00000 0.50000 0.00000 0.12500 X**5 = 0.00000 0.62500 0.00000 0.31250 0.00000 0.06250 X**6 = 0.31250 0.00000 0.46875 0.00000 0.18750 0.00000 0.03125 chebyshev_monomial_chebyshev_test ( ) Convert a polynomial from Chebyshev form to monomial form and back. L2 difference = 0.833460E-13 gegenbauer_to_monomial_matrix_test ( ) gegenbauer_to_monomial_matrix() returns the matrix which converts a polynomial from Gegenbauer form to monomial form. alpha = 0.500000 A: 1.00000 0.00000-0.50000 0.00000 0.37500 0.00000 1.00000 0.00000-1.50000 0.00000 0.00000 0.00000 1.50000 0.00000-3.75000 0.00000 0.00000 0.00000 2.50000 0.00000 0.00000 0.00000 0.00000 0.00000 4.37500 legendre_to_monomial_matrix_test ( ) legendre_to_monomial_matrix() returns the matrix which converts a polynomial from Legendre form to monomial form. A: 1.00000 0.00000-0.50000-0.00000 0.37500 0.00000 1.00000 0.00000-1.50000-0.00000 0.00000 0.00000 1.50000 0.00000-3.75000 0.00000 0.00000 0.00000 2.50000 0.00000 0.00000 0.00000 0.00000 0.00000 4.37500 polynomial_conversion_test(): Normal end of execution. 16 April 2024 4:47:23.125 PM