public static void hyper_1f1_values_test()
    //****************************************************************************80
    //
    //  Purpose:
    //
    //    HYPER_1F1_VALUES_TEST tests HYPER_1F1_VALUES.
    //
    //  Licensing:
    //
    //    This code is distributed under the GNU LGPL license.
    //
    //  Modified:
    //
    //    28 January 2015
    //
    //  Author:
    //
    //    John Burkardt
    //
    {
        double a  = 0;
        double b  = 0;
        double fx = 0;
        double x  = 0;

        Console.WriteLine("");
        Console.WriteLine("HYPER_1F1_VALUES_TEST:");
        Console.WriteLine("  HYPER_1F1_VALUES stores values of");
        Console.WriteLine("  the hypergeometric function 1F1.");
        Console.WriteLine("");
        Console.WriteLine("      A      B      X   Hyper_1F1(A,B,X)");
        Console.WriteLine("");
        int n_data = 0;

        for (;;)
        {
            Hypergeometric.hyper_1f1_values(ref n_data, ref a, ref b, ref x, ref fx);
            if (n_data == 0)
            {
                break;
            }

            Console.WriteLine("  "
                              + a.ToString(CultureInfo.InvariantCulture).PadLeft(8) + "  "
                              + b.ToString(CultureInfo.InvariantCulture).PadLeft(8) + "  "
                              + x.ToString(CultureInfo.InvariantCulture).PadLeft(8) + "  "
                              + fx.ToString("0.################").PadLeft(24) + "");
        }
    }