Yes I did so... Meanwhile, I think my main problem is that I've to call sympy from a PHP site. When I try it via the shell , it will work for me now ...
If I'm right, the problem will arise with the following part of the code: transformations=(standard_transformations + ( implicit_multiplication_application,) + (function_exponentiation,)+( convert_xor,)) print(latex(parse_expr(sys.argv[1], transformations=transformations))) Am Dienstag, 10. Februar 2015 09:30:22 UTC+1 schrieb Christophe Bal: > > Hello. > > Have you tried to simplify exp_1 - exp_2 to see if it is equal to zero ? > > > *Christophe BAL* > *Enseignant de mathématiques en Lycée **et développeur Python amateur* > *---* > *French math teacher in a "Lycée" **and **Python **amateur developer* > > 2015-02-10 9:20 GMT+01:00 Peter <[email protected] <javascript:>>: > >> Hi everybody, >> >> for my recent project I have to check using sympy if two terms are equal >> or identical. >> >> *Example*: >> >> - x+2=5 and x+5=8 - these two terms are equal (equivalent) but they >> are not identical >> - x+2=5 and x+2=5 - these are equal and identical >> >> *Question*: >> >> Is it possible to differentiate between "equal" and "identical"? If so - >> how do I achieve this? >> >> >> Thanks a lot! >> >> Peter >> >> -- >> 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 [email protected] <javascript:>. >> To post to this group, send email to [email protected] <javascript:> >> . >> Visit this group at http://groups.google.com/group/sympy. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sympy/5d39e92a-32d4-4876-a04d-1ac5c8ed2ed1%40googlegroups.com >> >> <https://groups.google.com/d/msgid/sympy/5d39e92a-32d4-4876-a04d-1ac5c8ed2ed1%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/5a4bfaac-2f33-44c9-8955-fc265ddc414f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
