Issue 3694 in sympy: Better Simplification of Gammas

2013-03-11 Thread sympy
Status: Valid Owner: Labels: Type-Defect Priority-Medium New issue 3694 by mrock...@gmail.com: Better Simplification of Gammas http://code.google.com/p/sympy/issues/detail?id=3694 Expressions with Gamma functions are often not simplified as much as they should be. Here is an example fro

Re: Issue 3694 in sympy: Better Simplification of Gammas

2013-03-11 Thread sympy
Updates: Labels: Simplify Comment #1 on issue 3694 by asmeu...@gmail.com: Better Simplification of Gammas http://code.google.com/p/sympy/issues/detail?id=3694 combsimp(a.expand()) works. So combsimp() just needs to be a little smarter about distributing. -- You received this mess

Re: Issue 3694 in sympy: Better Simplification of Gammas

2013-03-13 Thread sympy
Updates: Cc: mrock...@gmail.com Labels: NeedsReview smichr Comment #2 on issue 3694 by smi...@gmail.com: Better Simplification of Gammas http://code.google.com/p/sympy/issues/detail?id=3694 When you have a hammer in your hand, everything looks like a nail (that can be fixed

Re: Issue 3694 in sympy: Better Simplification of Gammas

2013-03-13 Thread sympy
Comment #3 on issue 3694 by mrock...@gmail.com: Better Simplification of Gammas http://code.google.com/p/sympy/issues/detail?id=3694 Nice. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification pref

Re: Issue 3694 in sympy: Better Simplification of Gammas

2013-03-14 Thread sympy
Comment #4 on issue 3694 by smi...@gmail.com: Better Simplification of Gammas http://code.google.com/p/sympy/issues/detail?id=3694 Not as nice as I'd hoped...this is similar to the TR* routines of Fu...making sure the expression is in the form that will lead to simplification is tricky.

Re: Issue 3694 in sympy: Better Simplification of Gammas

2013-03-14 Thread sympy
Comment #5 on issue 3694 by smi...@gmail.com: Better Simplification of Gammas http://code.google.com/p/sympy/issues/detail?id=3694 OK, nice again: e = (-gamma(k)*gamma(k + 2) + gamma(k + 1)**2)/gamma(k)**2 assert combsimp(e) == k**2 assert combsimp(1/e) == 1/k**2 e = (gamma(x

Re: Issue 3694 in sympy: Better Simplification of Gammas

2013-03-19 Thread sympy
Updates: Status: Fixed Comment #6 on issue 3694 by smi...@gmail.com: Better Simplification of Gammas http://code.google.com/p/sympy/issues/detail?id=3694 Although I named my commit with 3693 it should have been 3694 -- gammas now simplify better. -- You received this message becau

Re: Issue 3694 in sympy: Better Simplification of Gammas

2013-03-20 Thread sympy
Comment #7 on issue 3694 by mrock...@gmail.com: Better Simplification of Gammas http://code.google.com/p/sympy/issues/detail?id=3694 Great! -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification pre