--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/33347c95-dba2-47a5-99f1-b8d7cbdd3c59%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
>>> from sympy import Symbol, oo, simplify>>> x = Symbol('x', real=True)>>> simplify( x*oo )oo*xDo we use extended real number system(Affinely Extended Real Number System) in sympy ?If we do use them, then why not expressions like these "x*oo" evaluated to a Piecewise function like>>> Symbol('x', real=True)>>> simplify( x*oo )
Piecewise( ( -oo, x< 0 ), ( oo, x > 0), (Nan, x==0 )) # i expect this to happen.
Gaurav Dhingra
In [4]: solve(x <= oo)Out[4]: And(-oo < x, x < oo)