

def _int0oo(g1, g2, x):
    '\n    Express integral from zero to infinity g1*g2 using a G function,\n    assuming the necessary conditions are fulfilled.\n\n    >>> from sympy.integrals.meijerint import _int0oo\n    >>> from sympy.abc import s, t, m\n    >>> from sympy import meijerg, S\n    >>> g1 = meijerg([], [], [-S(1)/2, 0], [], s**2*t/4)\n    >>> g2 = meijerg([], [], [m/2], [-m/2], t/4)\n    >>> _int0oo(g1, g2, t)\n    4*meijerg(((1/2, 0), ()), ((m/2,), (-m/2,)), s**(-2))/s**2\n    '
    (eta, _) = _get_coeff_exp(g1.argument, x)
    (omega, _) = _get_coeff_exp(g2.argument, x)

    def neg(l):
        return [(- x) for x in l]
    a1 = (neg(g1.bm) + list(g1.an))
    a2 = (list(g2.aother) + neg(g1.bother))
    b1 = (neg(g1.an) + list(g2.bm))
    b2 = (list(g2.bother) + neg(g1.aother))
    return (meijerg(a1, a2, b1, b2, (omega / eta)) / eta)

dataset/ETHPy150Open sympy/sympy/sympy/integrals/meijerint.py _int0oo/VarMisuse@80/334 `g2`->`g1`