

def _meijerint_definite_3(f, x):
    '\n    Try to integrate f dx from zero to infinity.\n\n    This function calls _meijerint_definite_4 to try to compute the\n    integral. If this fails, it tries using linearity.\n    '
    res = _meijerint_definite_4(f, x)
    if (x and (res[1] != False)):
        return res
    if f.is_Add:
        _debug('Expanding and evaluating all terms.')
        ress = [_meijerint_definite_4(g, x) for g in f.args]
        if all(((r is not None) for r in ress)):
            conds = []
            res = S(0)
            for (r, c) in ress:
                res += r
                conds += [c]
            c = And(*conds)
            if (c != False):
                return (res, c)

dataset/ETHPy150Open sympy/sympy/sympy/integrals/meijerint.py _meijerint_definite_3/VarMisuse@25/113 `res`->`x`