> If you want to do a mathematical comparison, the best way is to > subtract one expression from the other and pass it to simplify(), and > see if it goes to 0. For example: > You can also use a.equals(b) which, after simplifications, use numerical methods. At worst, it will take some time to return None (instead of T/F) for an expression that *is* zero but won't simplify to zero.
-- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. 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.
