On Saturday, 19 September 2015 20:47:08 UTC+2, brombo wrote:
>
>
> Let me clarify.  If I use the above to define f then
>
> re(f) returns re(f) not f and
> im(f) returns im(f) not 0.
>
>
> Here is a work around I've used:
def RealFunction(*args, **kwargs):
    instance = Function(*args, **kwargs)
    instance.is_real = True
    return instance

 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/0b227396-e183-4595-92b2-8d499280e5c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to