-
Notifications
You must be signed in to change notification settings - Fork 65
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
Complex value support for Piecewise and comparison operators #406
Comments
SymPy's lambdify uses We can implement |
What types for |
It has to be all |
Ok, then there might at least exist some workaround. |
I assumed float or integer for |
Temporaries are also Btw, |
Any other thoughts @symengine/push-access ? |
I want to lambdify the following piecewise function
but here I assume
amp
is a complex number. This raises TypeError.Setting
real=False
to lambdify doesn't work because bothPiecewise
andLessThan
operator are not defined incomplex_double
(maybecomplex_mpc.cpp
?) in symengine. Is there any workaround to calllamb
with a complex number?The text was updated successfully, but these errors were encountered: