On Thu, Apr 17, 2008 at 11:32:19AM +0200, Ondrej Certik wrote: > On Thu, Apr 17, 2008 at 11:00 AM, Friedrich Hagedorn <[EMAIL PROTECTED]> > wrote: > > > > On Wed, Apr 16, 2008 at 04:56:21PM +0200, Ondrej Certik wrote: > > > > > In [1]: Eq(z, "==", x/y) > > > > > Out[1]: > > > > > x > > > > > z = ─ > > > > > y > > > > > > > > Or if you know some better syntax, maybe just > > > > > > Eq(x, y) > > > > The other way ist to define: > > > > In [18]: def Eq(a, b, op='=='): > > return relational.Relational(a,b,op) > > ....: > > > > In [20]: Eq(y,x+x**2) > > Out[20]: > > 2 > > y = x + x > > > > In [21]: Eq(y,x+x**2, '<=') > > Out[21]: > > 2 > > y ≤ x + x > > > > > > I am not sure. But its a little bit easier for the most cases. So I would > > say the last one :-) > > I also seem to like the last one. Kirill?
Why not. This looks better than what we have now. So I'm for the change. Friedrich, are you willing to prepare a patch for this? -- Всего хорошего, Кирилл. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sympy?hl=en -~----------~----~----~----~------~----~------~--~---