/// Confluent hypergeometric limit functions. double hyperg_0F1(double c, double x) { gsl_sf_result result; int stat = gsl_sf_hyperg_0F1_e(c, x, &result); if (stat != GSL_SUCCESS) { std::ostringstream msg("Error in hyperg_0F1:"); msg << " c=" << c << " x=" << x; throw std::runtime_error(msg.str()); } else return result.val; }
double gsl_sf_hyperg_0F1(const double c, const double x) { EVAL_RESULT(gsl_sf_hyperg_0F1_e(c, x, &result)); }