Comment #6 on issue 2555 by [email protected]: Wrong result from residue
http://code.google.com/p/sympy/issues/detail?id=2555
Here's yet another one. I don't know why this one happens, because the
series seems to be correct (I think it renormalizes around the point or
something, but the coefficient of 1/x is the residue):
In [2]: residue(1/(x**2 + a**2)**2, x, a*I)
Out[2]: 0
In [3]: series(1/(x**2 + a**2)**2, x, a*I)
Out[3]:
5 4 3 2
9⋅ⅈ⋅x 57⋅x 3⋅ⅈ⋅x 5⋅x ⅈ⋅x 3 ⅈ 1 ⎛ 6⎞
────── - ────── - ────── - ───── + ──── + ───── - ────── - ─────── + O⎝x ⎠
9 8 7 6 5 4 3 2 2
64⋅a 256⋅a 64⋅a 64⋅a 8⋅a 16⋅a 4⋅a ⋅x 4⋅a ⋅x
--
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.