Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 2625 by [email protected]: Imaginary unit in R, ordering of
complex numbers
http://code.google.com/p/sympy/issues/detail?id=2625
Sorry if this has already been reported; I searched open issues but didn't
see this one.
Typically, the set of real numbers is denoted by the interval (-oo, oo).
R^3 is defined using this interval in an example (see the section on 'sets'
in http://sympy.blogspot.com/2011/07/sympy-071-released.html). Given that
(-oo,oo) represents the set of real numbers, the following can be produced
in sympy 0.7.1:
from sympy import *
I in Interval(-oo,oo)
True
I, being the imaginary unit, is not a real number.
Further, statements like 'I < oo' and 'I > -oo' are true. Since there is
no natural ordering on the set of complex numbers, does this make sense? I
suppose there is a natural ordering of the purely imaginary numbers but
statements such as '5*I < 6*I' and 'I*4 > I' do not return Boolean values.
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.