Code generation has been coming up in the last few days and I have been
dealing with it myself as well. For this purpose, I created a function for
PyDy called 'generate_function'. You can see it if you go to my github, in
the bicycle_work branch:
git://github.com/hazelnusse/pydy.git
And go to p
I would just evalf() the sympy expression (assuming it works for x**
(2/3)).
Vinzent
On Sep 23, 5:07 am, Ryan Krauss wrote:
> I am using my own codegeneration tool. Basically, I take the output of cse
> and convert it all to strings and save it to a file. My stuff can be fixed
> with
>
> from