Status: Accepted
Owner: ----
CC: [email protected]
Labels: Type-Defect Priority-Medium

New issue 3054 by [email protected]: Simplification of ratios of gamma functions
http://code.google.com/p/sympy/issues/detail?id=3054

Sympy can not simplify some rations of two gamma functions.
An example is:

In [3]: gamma(1/S(4))/gamma(5/S(4))
Out[3]: gamma(1/4)/gamma(5/4)

In [4]: simplify(_)
Out[4]: gamma(1/4)/gamma(5/4)

In [5]: combsimp(_)
Out[5]: gamma(1/4)/gamma(5/4)

In [7]: expand_func(_)
Out[7]: gamma(1/4)/gamma(5/4)

The correct result would be 4

Another one:

In [8]: gamma(S(3)/4)gamma(S(7)/4)
Out[8]: gamma(3/4)/gamma(7/4)

In [9]: combsimp(_)
Out[9]: gamma(3/4)/gamma(7/4)

The correct result would be 4/3

The formulas here could be useful:
http://en.wikipedia.org/wiki/Particular_values_of_the_gamma_function#General_rational_arguments


--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to