Comment #2 on issue 2960 by hunt...@gmail.com: It right 0 < x < 1 ?
http://code.google.com/p/sympy/issues/detail?id=2960

Hrm, I don't know if it'd helpful or wanted, and it ain't pretty (mostly because it uses a global variable[1]), but attached is one possible method to acquire a chained inequality.

-----
In [1]: a, b, c, d = test('A'), test('B'), test('C'), test('D')

In [2]: x = a < b < c < d

In [3]: x
Out[3]: A < B < C < D
-----

[1] I expect it could be cleaned up a bit; I only spent a few minutes hacking this together.

Attachments:
        multiple_inequalities.py  1.2 KB

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to