/// Hyperbolic sine integral. double Shi(double x) { gsl_sf_result result; int stat = gsl_sf_Shi_e(x, &result); if (stat != GSL_SUCCESS) { std::ostringstream msg("Error in Shi:"); msg << " x=" << x; throw std::runtime_error(msg.str()); } else return result.val; }
double gsl_sf_Shi(const double x) { EVAL_RESULT(gsl_sf_Shi_e(x, &result)); }