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 ComplexInfinity, but I'm
still not understanding why this behavior is more desirable than
regular infinity.  I'm fine with implementing it this way, but it
would be nice to understand why this way is more correct or general,
if indeed it is.

Thanks,
~Luke

On Jun 24, 8:27 am, Luke <hazelnu...@gmail.com> wrote:
> 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 Nobrega <rwnobr...@gmail.com>:
>
> > >> 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.
>
> > Yes, I forgot to mention that.
>
> > So to get some conclusion, I suggest we go the 3) way ---- return
> > ComplexInfinity for everything and emit warnings, that are off by
> > default.
>
> > Ondrej
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com
To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to