Status: Accepted
Owner: smichr
Labels: Type-Defect Priority-Medium

New issue 2136 by smichr: polygamma expansion problems
http://code.google.com/p/sympy/issues/detail?id=2136

polygamma needs some attention since the expanded and unexpanded forms give different results when substituting in a value for x:

h[9] >>> polygamma(0, 2*x).expand(func=True).subs(x, 1)
1 - EulerGamma + log(2)
h[9] >>> polygamma(0, 2*x).subs(x, 1)
1 - EulerGamma

The docstring doesn't provide much direction, but wikipedia says that polygamma(m, z) is the (m+1)th derivative of the log(gamma(z)) wrt z. Does anyone have an idea what the expansion is trying to give?

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-iss...@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.

Reply via email to