

def _int0oo_1(g, x):
    '\n    Evaluate int_0^\\infty g dx using G functions,\n    assuming the necessary conditions are fulfilled.\n\n    >>> from sympy.abc import a, b, c, d, x, y\n    >>> from sympy import meijerg\n    >>> from sympy.integrals.meijerint import _int0oo_1\n    >>> _int0oo_1(meijerg([a], [b], [c], [d], x*y), x)\n    gamma(-a)*gamma(c + 1)/(y*gamma(-d)*gamma(b + 1))\n    '
    from sympy import gamma, combsimp, unpolarify
    (eta, _) = _get_coeff_exp(g.argument, x)
    res = (1 / eta)
    for b in g.bm:
        res *= gamma((b + 1))
    for a in g.an:
        res *= gamma(((1 - a) - 1))
    for b in g.bother:
        res /= gamma(((1 - b) - 1))
    for a in g.aother:
        res /= gamma((a + 1))
    return combsimp(unpolarify(res))

dataset/ETHPy150Open sympy/sympy/sympy/integrals/meijerint.py _int0oo_1/original