SymPy can handle derivatives just fine. You just need to express your
function as a function of whatever variables, for example:
>>> f = Function('f')
>>> f(x, y, z).diff(x, y)
D(f(x, y, z), x, y)
One thing that unfortunately will not work very well is the chain
rule. This is because we currently do not have a way to express the
derivative of a function evaluated at a point. See
http://code.google.com/p/sympy/issues/detail?id=1620.
We do have a code generation module, but someone else will have to
tell you more about that.
Aaron Meurer
On Thu, Apr 14, 2011 at 8:35 AM, Joe <[email protected]> wrote:
> Hi,
>
> I just get to learn about sympy, wondering what it can do about
> manipulating partial differential equations (PDE) such as performing
> consecutive derivative operations. I am planning a coding project
> which requires to code the result from such a labored math task at a
> great extend. If sympy can, can it also express and export the
> analytical result to language formats such as C/C++? Your reply is
> greatly appreciated.
>
> Joe
>
> --
> 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.
>
>
--
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.