Hi Jeff,

On Mon, Feb 28, 2011 at 3:40 PM, Jeff <[email protected]> wrote:
> Hi,
>
> For function f, I would like to make -f(x) equal to f(-x).
>
> I wonder what would be a good way to do it in sympy.

You can look into the implementation of the sin(x) function, which has
this behavior:

>>> sin(-x)
-sin(x)


Ondrej

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to