Hi,

On Wed, Aug 19, 2009 at 6:10 AM, rpg<[email protected]> wrote:
>
> Hi,
>
> This is a nice library. Thanks a lot for this.

Thanks for your interest.

>
> 1) I was wondering if it is possible to perform certain sympy
> operations, (like substitution, differentiation etc.) and then convert
> the resulting expression into a pure python function, which could then
> be used for map, reduce, filter etc. in python. Or for any other
> purpose really.

Yes, just use lambdify (see it's docstring for examples).

>
> 2) Can one generate lagrangian equations of motion, if a lagrangian is
> specified? Isn't that supposed to require something like a  functional
> derivative? I don't care for the optimizations, or simplifications at
> this time. I just want a bunch of ODE's I can plug into a solver.

I would just use regular symbols for that and differentiate them and
then substitute them for functions. I would like to have a library for
that, so if you'd like to contribute one, we'll help you out. :)

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