Comment #7 on issue 2386 by matt...@gmail.com: gosper(...) is missing tests
and docstring
http://code.google.com/p/sympy/issues/detail?id=2386
gamma(x + 1) still works:
In [3]: gamma(x + 1).series(x, 0, 3)
Out[3]:
2 2 2 2
x ⋅EulerGamma π ⋅x
1 - x⋅EulerGamma + ────────────── + ───── + O(x**3)
2 12
After my commit factorial(x) doesn't rewrite to gamma(x + 1) automatically
any more, so this is the reason for the failure. I think series() shouldn't
depend too much on automatic rewriting and figure out factorial(x) ->
gamma(x + 1) on its own (this will be a generic pattern for combinatorial
functions).
Side note: even if it fails it shouldn't fail with "Derivative expects
(...)" which is completely meaningless in this situation (this should give
Series(factorial(x), ...) right now).
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.