

def _rewrite1(f, x, recursive=True):
    '\n    Try to rewrite f using a (sum of) single G functions with argument a*x**b.\n    Return fac, po, g such that f = fac*po*g, fac is independent of x\n    and po = x**s.\n    Here g is a result from _rewrite_single.\n    Return None on failure.\n    '
    (fac, po, g) = _split_mul(f, x)
    g = _rewrite_single(g, x, recursive)
    if g:
        return (fac, po, g[0], g[1])

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