You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The closest in symengine is to use the is_zero property for the difference of the expressions. It is currently quite weak and will not be able to handle this expression.
I think in the end the only feasible way of comparing two polynomials for equality is to first expand them so the underlying function would need to do this. Doing it without expanding is a hard problem in general (see https://en.wikipedia.org/wiki/Polynomial_identity_testing).
Hello!
When trying to check the equality for two expressions I want to utilize a method similar to the
.equals()
method insympy
(see example below)Is there a way to do this in
symengine
without calling additional methods (as.expand()
) or usingsympy
?Thanks in advance!
The text was updated successfully, but these errors were encountered: