Hi.

I want to generate some C code that evaluates a discontinuous, symbolic, 
function for a given set of arguments. codegen works great, except for the 
discontinuous bit. I tried defining the function as a Piecewise, but no 
luck. Is there a better way to do this? Is this an easy fix? The best idea 
I've had so far is to use Heaviside functions for the discontinuities and 
write my own Heaviside implementation for inclusion by codegen.

Thanks for any help.

Nathan Woods

P.S. Thanks for a great product!

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to