-
Notifications
You must be signed in to change notification settings - Fork 61
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
equality on complex symbols #230
Comments
Yeah, good question. This works (maybe due to a change in the version released today):
This works:
But, these two are not equal
There is SymPy's
In the most recent change, I noticed that
Whereas, I would have liked it to work like this:
I'll raise an issue about this so it can be addressed or at least I can be reminded of why. |
There are also the assumptions,
but correctly EDIT: the result is correct as pointed out by @timkittel below. |
Hmm, this now throws an error! That isn't good. I'll put in a fix, but it seems like I can't fix the minus sign! gamma |
When trying this line, I also get an error. But the result you show is correct, right? Assuming
Awesome, I will use that for now! Still, I would feel that this should either be handled by something like PS: My use case is that I have some functions representing actual formulas, so I am trying to test their validity symbolically. |
Hi, and thanks for the SymPy package. I am trying to use complex numbers and just stumbled over a small problem that I am not sure how to solve:
How would I manage for SymPy to identify this equality correctly?
Thanks a lot,
Tim
The text was updated successfully, but these errors were encountered: