I'm currently looking at the mpmath documentation for Meijerg. It says
mpmath.meijerg(a_s, b_s, z, r=1, **kwargs) Evaluates the Meijer G-function, defined as
for an appropriate choice of the contour L (see references).
- There are p elements a_j. The argument a_s should be a pair of lists, the first containing the n elements a_1, ..., a_n and the second containing the p-n elements a_{n+1}, ... a_p.
- There are q elements b_j. The argument b_s should be a pair of lists, the first containing the m elements b_1, ..., b_m and the second containing the q-m elements b_{m+1}, ... b_q.
The second example given there has four arguments for the series a, b:
1, 1
1, 0
For example, for the first row, to me it isnt clear whether this is a pair of sets that each contain one number, [[1],[1]]
or one set with two elements and an empty set [[1, 1], []}
Confusingly, without mentioning it, they do a mixture. They call the function in the second example as
meijerg([[1,1],[]], [[1],[0]], z)
which means that the first two numbers belong into the first set, but the second two numbers belong to one set each. Can someone explain to me why? What is the logic behind this?