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
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
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
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
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
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
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
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
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
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,
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
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
12 matches
Mail list logo