-
-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Identifies true equation as FALSE #66
Comments
This is correct. The |
Hmmm. Works but not at all intuitive. Feels like it should have been solved with a simple operator. Doesn't feel right :( |
@aktech @asmeurer @certik @hargup . How about if we change the structural comparison Details about this described here - https://groups.google.com/d/msg/sympy/kiCMquuqC2s/q9RVhPC8AAAJ . Any opinions on this? |
Yes, I agree that for SymPy Gamma == should be more mathematical. It also could mean "solve", as in, if someone writes |
It's obviously impossible to do this perfectly, but in general, SymPy Gamma should aim to do what the user expects it to do, and work around some of the idiosyncrasies of SymPy the library. |
@asmeurer Yes exactly I agree with you. I'll try mapping the But what would you suggest would be better the |
I think equals is fine. |
The following equation returns 'False'
Equation : ((sin(x) - cos(x))(sin(x) + cos(x))) == (1 - 2 (cos(x)**2))
How ever individually the RHS and LHS produce the right results
(1 - 2 (cos(x)**2)) = -cos(2x)
((sin(x) - cos(x))(sin(x) + cos(x))) = -cos(2x)
The text was updated successfully, but these errors were encountered: