/// Spherical Neumann functions. double bessel_yl(unsigned int n, double x) { gsl_sf_result result; int stat = gsl_sf_bessel_yl_e(static_cast<int>(n), x, &result); if (stat != GSL_SUCCESS) { std::ostringstream msg("Error in bessel_yl:"); msg << " n=" << n << " x=" << x; throw std::runtime_error(msg.str()); } else return result.val; }
double gsl_sf_bessel_yl(const int l, const double x) { EVAL_RESULT(gsl_sf_bessel_yl_e(l, x, &result)); }