public static void airy_ai_int_values_test() //****************************************************************************80 // // Purpose: // // AIRY_AI_INT_VALUES_TEST tests AIRY_AI_INT_VALUES. // // Licensing: // // This code is distributed under the GNU LGPL license. // // Modified: // // 20 January 2007 // // Author: // // John Burkardt // { double fx = 0; double x = 0; Console.WriteLine(""); Console.WriteLine("AIRY_AI_INT_VALUES_TEST:"); Console.WriteLine(" AIRY_AI_INT_VALUES stores values of "); Console.WriteLine(" the integral of the Airy Ai function."); Console.WriteLine(""); Console.WriteLine(" X FX"); Console.WriteLine(""); int n_data = 0; for (;;) { Airy.airy_ai_int_values(ref n_data, ref x, ref fx); if (n_data == 0) { break; } Console.WriteLine(" " + x.ToString("0.################").PadLeft(24) + " " + fx.ToString("0.################").PadLeft(24) + ""); } }