Issue 2555 in sympy: Wrong result from residue

2011-07-09 Thread sympy
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 2555 by someb...@bluewin.ch: Wrong result from residue http://code.google.com/p/sympy/issues/detail?id=2555 Just a simply wrong result from "residue" In [3]: residue(exp(1/z), z, 0) Out[3]: 0 See also the bugreport for the M

Re: Issue 2555 in sympy: Wrong result from residue

2011-10-29 Thread sympy
Comment #6 on issue 2555 by asmeu...@gmail.com: 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 co

Re: Issue 2555 in sympy: Wrong result from residue

2012-01-03 Thread sympy
Comment #7 on issue 2555 by ness...@gmail.com: Wrong result from residue http://code.google.com/p/sympy/issues/detail?id=2555 The problem is really that the series code is very messy and, apparently, buggy. For example: In [26]: (1/(x**2+a**2)**2).subs(x,x+I*a).series(x,n=0) Out[26]: 1

Re: Issue 2555 in sympy: Wrong result from residue

2012-01-03 Thread sympy
Comment #8 on issue 2555 by ness...@gmail.com: Wrong result from residue http://code.google.com/p/sympy/issues/detail?id=2555 For essential singularities we don't really have any code, so raising NotImplementedError seems fine to me. -- You received this message because you are subscribed to

Re: Issue 2555 in sympy: Wrong result from residue

2012-09-14 Thread sympy
Issue 2555: Wrong result from residue http://code.google.com/p/sympy/issues/detail?id=2555 This issue is now blocking issue sympy:3400. See http://code.google.com/p/sympy/issues/detail?id=3400 -- You received this message because you are listed in the owner or CC fields of this issue, or because

Re: Issue 2555 in sympy: Wrong result from residue

2013-10-04 Thread sympy
Updates: Labels: NeedsReview Comment #11 on issue 2555 by skirpic...@gmail.com: Wrong result from residue http://code.google.com/p/sympy/issues/detail?id=2555 https://github.com/sympy/sympy/pull/2502 -- You received this message because this project is configured to send all issue not

Re: Issue 2555 in sympy: Wrong result from residue

2013-11-25 Thread sympy
Comment #12 on issue 2555 by skirpic...@gmail.com: Wrong result from residue http://code.google.com/p/sympy/issues/detail?id=2555 fixed, except this: http://code.google.com/p/sympy/issues/detail?id=2555#c4 -- You received this message because this project is configured to send all issue noti

Re: Issue 2555 in sympy: Wrong result from residue

2011-07-09 Thread sympy
Updates: Status: Accepted Comment #1 on issue 2555 by asmeurer: Wrong result from residue http://code.google.com/p/sympy/issues/detail?id=2555 If residue cannot find the coefficient of 1/z in the series expansion, it assumes it is 0, so it returns that. Perhaps it should really be rai

Re: Issue 2555 in sympy: Wrong result from residue

2011-07-09 Thread sympy
Updates: Labels: Series WrongResult Comment #2 on issue 2555 by asmeurer: Wrong result from residue http://code.google.com/p/sympy/issues/detail?id=2555 Well, the residue() code basically does this: exp(1/z).series(z, 0, 0) exp(1/z) exp(1/z).series(z, 0, 6) exp(1/z) It could at lea

Re: Issue 2555 in sympy: Wrong result from residue

2011-07-10 Thread sympy
Comment #3 on issue 2555 by someb...@bluewin.ch: Wrong result from residue http://code.google.com/p/sympy/issues/detail?id=2555 If it can not find the (correct!) answer, we have basically two options: - i) return an unevaluated object representing the original problem - ii) raise an exception,

Re: Issue 2555 in sympy: Wrong result from residue

2011-09-17 Thread sympy
Comment #4 on issue 2555 by asmeurer: Wrong result from residue http://code.google.com/p/sympy/issues/detail?id=2555 residue() also is wrong for expressions that behave a little nicer than this. For example: In [36]: expr = exp(z)/(z - pi*I/4*a)**n In [37]: residue(expr, z, I*pi*a/4) Out[3

Re: Issue 2555 in sympy: Wrong result from residue

2011-09-17 Thread sympy
Comment #5 on issue 2555 by asmeurer: Wrong result from residue http://code.google.com/p/sympy/issues/detail?id=2555 Actually, perhaps it could always infer this from the series. In the case of exp(1/z), the series is just exp(1/z) (this could perhaps be considered a bug in series()). For