arrays of complex values with ufuncify?

36 views
Skip to first unread message

wave...@gmail.com

unread,
Dec 17, 2015, 9:54:04 AM12/17/15
to sympy
Dear Group,

I was trying to use ufuncify instead of lambdify for some equations having both complex input and complex output.
Using ufuncify gives an error ("not supported for the input types") which makes sence since the header of the produces c code, float or int values are expected, even though the symbol in the equation was assumed to be complex but not real.

Now I wonder if there is a way to explain to ufuncify that certain variables should be complex and that the output should also be.
If not, will it be possible in the future?


Cheers
carsten

Jason Moore

unread,
Dec 17, 2015, 12:59:53 PM12/17/15
to sy...@googlegroups.com
Carsten,

I don't think we have that support in the code generators yet, but I could be wrong. Please submit a feature request as a Github issue. Please include some sample code and your expected result.

Thanks,

Jason

--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/904d7f93-3e4a-4ae5-8bbe-e0387fcce175%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages