Question: convert/MeijerG

Possibly related to this. One has to remember that the result of convert/MeijerG for sin(z) is actually csgn(z)*sin(z):

convert(sin(z), MeijerG, include = all);
         sqrt(Pi)*MeijerG([[], []], [[1/2], [0]], (1/4)*z^2)

simplify(%);
         csgn(z)*sin(z)

That is the case for some other functions as well. Wouldn't it be better to return csgn(z)*MeijerG? For the sine, the form z*MeijerG is also a possibility. Might help to avoid issues similar to this one:

int(sin(a*x)*MeijerG([[], []], [[0], []], x)/x, x = 0 .. infinity); # incorrect for Re(a)<0
             -arctan(1/a)+(1/2)*Pi

 

Please Wait...