Yeah, as I noted on an issue, this is because internally, Gt(a, b) is
converted into Lt(b, a), which is just called StrictInequality:

In [25]: type(y > x)
Out[25]: sympy.core.relational.StrictInequality

In [26]: type(x < y)
Out[26]: sympy.core.relational.StrictInequality

In [27]: (x < y) == (y > x)
Out[27]: True

So the information is not stored anywhere about how it was made.  This
should be fixed.

I created http://code.google.com/p/sympy/issues/detail?id=2979 for this.

Aaron Meurer

On Tue, Jan 10, 2012 at 12:53 PM, Kevin Hunter <hunt...@gmail.com> wrote:
> Hullo Sympy Group,
>
> Is there a facility to print Greater-Than relations?  All inequality
> expressions seem to have their lhs and rhs rearranged so that only a <= gets
> printed, but I'd like to actually print a >= relation.
>
> Thanks,
>
> Kevin
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/sympy/-/689G_8rbSzIJ.
> 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.

-- 
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