private static void hermite_polynomial_test08(int p, double b) //****************************************************************************80 // // Purpose: // // HERMITE_POLYNOMIAL_TEST08 tests HN_EXPONENTIAL_PRODUCT. // // Licensing: // // This code is distributed under the GNU LGPL license. // // Modified: // // 26 February 2012 // // Author: // // John Burkardt // // Parameters: // // Input, int P, the maximum degree of the polynomial // factors. // // Input, double B, the coefficient of X in the exponential factor. // { double[] table; Console.WriteLine(""); Console.WriteLine("HERMITE_POLYNOMIAL_TEST08"); Console.WriteLine(" Compute a normalized physicist''s Hermite exponential product table."); Console.WriteLine(""); Console.WriteLine(" Tij = integral ( -oo < X < +oo ) exp(B*X) Hn(I,X) Hn(J,X) exp(-X*X) dx"); Console.WriteLine(""); Console.WriteLine(" where Hn(I,X) = normalized physicist''s Hermite polynomial of degree I."); Console.WriteLine(""); Console.WriteLine(" Maximum degree P = " + p + ""); Console.WriteLine(" Exponential argument coefficient B = " + b + ""); table = Hermite.hn_exponential_product(p, b); typeMethods.r8mat_print(p + 1, p + 1, table, " Exponential product table:"); }