[sympy] Re: Complex Infinity

2009-06-24 Thread Luke
Is there a reason it returns complex infinity versus just infinity? Does it have to do with the assumptions about the variables? Does anybody know an example where Mathematica returns just regular infinity? ~Luke On Jun 23, 10:23 am, Ondrej Certik ond...@certik.cz wrote: 2009/6/23 Roberto

[sympy] Re: Complex Infinity

2009-06-24 Thread Luke
Here is the link to the Wolfram Documentation for ComplexInfinity: http://reference.wolfram.com/mathematica/ref/ComplexInfinity.html Their one line documentation is: represents a quantity with infinite magnitude, but undetermined complex phase. Everything I've tried in Wolfram returns

[sympy] Re: Complex Infinity

2009-06-24 Thread Fredrik Johansson
On 6/24/09, Luke hazelnu...@gmail.com wrote: Here is the link to the Wolfram Documentation for ComplexInfinity: http://reference.wolfram.com/mathematica/ref/ComplexInfinity.html Their one line documentation is: represents a quantity with infinite magnitude, but undetermined complex

[sympy] Re: Complex Infinity

2009-06-24 Thread Ondrej Certik
On Wed, Jun 24, 2009 at 9:44 AM, Fredrik Johanssonfredrik.johans...@gmail.com wrote: On 6/24/09, Luke hazelnu...@gmail.com wrote:  Here is the link to the Wolfram Documentation for ComplexInfinity:  http://reference.wolfram.com/mathematica/ref/ComplexInfinity.html  Their one line

[sympy] Re: Complex Infinity

2009-06-24 Thread Alan Bromborsky
Fredrik Johansson wrote: On 6/24/09, Luke hazelnu...@gmail.com wrote: Here is the link to the Wolfram Documentation for ComplexInfinity: http://reference.wolfram.com/mathematica/ref/ComplexInfinity.html Their one line documentation is: represents a quantity with infinite magnitude,

[sympy] Re: Complex Infinity

2009-06-24 Thread Ronan Lamy
Wolfram says that log(0) = -infinity. Otherwise, limit(1/exp(log(-x), x, 0, +) = +infinity ! Check this link: http://www53.wolframalpha.com/input/?i=+limit+(1%2Fexp(log(-x))+as+x-%3E0%2B I don't think Mathematica computes limits by substituting x with 0 in the expression, so it's not

[sympy] Re: Complex Infinity

2009-06-23 Thread Roberto Nobrega
In [2]: S(1)/0 Out[2]: ∞ Btw, so does wolframalpha: http://www.wolframalpha.com/input/?i=1%2F0 In fact it returns ComplexInfinity for 1/0, and not Infinity as SymPy currently does. Roberto. --~--~-~--~~~---~--~~ You received this message because you are

[sympy] Re: Complex Infinity

2009-06-22 Thread Ondrej Certik
On Mon, Jun 22, 2009 at 5:49 PM, Lukehazelnu...@gmail.com wrote: Ondrej and I have had some discussion about what the trigonometric functions tan, cot, sec, csc should return at singular points.  It seems there are a couple of options: 1)  Return S.ComplexInfinity for things like tan(pi/2),

[sympy] Re: Complex Infinity

2009-06-22 Thread Robert Kern
On Mon, Jun 22, 2009 at 18:49, Lukehazelnu...@gmail.com wrote: Ondrej and I have had some discussion about what the trigonometric functions tan, cot, sec, csc should return at singular points.  It seems there are a couple of options: 1)  Return S.ComplexInfinity for things like tan(pi/2),