

def _inflate_fox_h(g, a):
    '\n    Let d denote the integrand in the definition of the G function ``g``.\n    Consider the function H which is defined in the same way, but with\n    integrand d/Gamma(a*s) (contour conventions as usual).\n\n    If a is rational, the function H can be written as C*G, for a constant C\n    and a G-function G.\n\n    This function returns C, G.\n    '
    if (g < 0):
        return _inflate_fox_h(_flip_g(g), (- a))
    p = S(a.p)
    q = S(a.q)
    (D, g) = _inflate_g(g, q)
    z = g.argument
    D /= (((2 * pi) ** ((1 - p) / 2)) * (p ** ((- S(1)) / 2)))
    z /= (p ** p)
    bs = [((n + 1) / p) for n in range(p)]
    return (D, meijerg(g.an, g.aother, g.bm, (list(g.bother) + bs), z))

dataset/ETHPy150Open sympy/sympy/sympy/integrals/meijerint.py _inflate_fox_h/VarMisuse@16/178 `a`->`g`