-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Complex Numbers in symengine #264
Comments
@ronald00773 did you figure it out? Was your question about how to convert SymEngine's complex type to a Python complex type efficiently? I am going to reopen this until we have a good answer here. |
Merged
@ronald00773, Isuru just implemented a direct way in #265. |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Is there a way to convert symengine I to 1j directly so that it's complex values can be used in regular python? The way I'm doing right now is convert to sympy object and then using the built-in complex function but this is computationally expensive. And also how to find real and imaginary parts?
The text was updated successfully, but these errors were encountered: