Re: [sympy] what does Equal and == do in sympy

2015-05-29 Thread Robert
Hello, Thanks for the help previously. I've run into a different issue with regards to Eq. Sympify will automatically convert Eq into == sympy.sympify('Eq(a, b)') a == b which if you sympify again will have the behavior you described originally. sympy.sympify(str(sympy.sympify('Eq(a, b)')))

Re: [sympy] what does Equal and == do in sympy

2015-05-29 Thread Robert
I was able to write a LambdaPrinter that does what I want for the time being: class NonRelationalOpPrinter(lambdarepr.LambdaPrinter): ''' from structures import symbolic for op in ['Eq', 'Ne', 'Gt', 'Lt', 'Ge', 'Le']: ...

[sympy] diff(x^x,x)

2015-05-29 Thread Thomas Leitz
Hi, the online shell at http://live.sympy.org/ tells me diff(x^x,x) = 0 Why is that? Tom -- 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

Re: [sympy] diff(x^x,x)

2015-05-29 Thread Oscar Benjamin
On 29 May 2015 22:06, Thomas Leitz unruhsc...@gmail.com wrote: Hi, the online shell at http://live.sympy.org/ tells me diff(x^x,x) = 0 Why is that? ^ doesn't do what you're expecting in Python. Use ** for exponentiation. -- Oscar -- You received this message because you are subscribed