Hi,
Didn't mean to reply to myself, just wanted to include some further
information I found.

I found the following worksheet where the author managed to generate C
code from symbolic expressions. He also did some optimization
collecting subexpressions.
http://www.sagenb.org/home/pub/2659/

Code is here:
http://gitorious.org/sagerobotics/sagerobotics/blobs/master/sagerobotics/code.py

I am studying it further, but once you have the code it is easy to
either weave.inline, fortran_inline or cython_inline it.

IMHO generating numerical code would be a neat feature for Sage, given
that the compilers are already in place.

By the way I recently found AceGen (google it) which does the auto-
code-generation from one of the M's...

Regards,

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to