[sympy] Re: expression convert like printc

2008-08-23 Thread Ondrej Certik
On Sat, Aug 23, 2008 at 3:31 PM, chu-ching huang <[EMAIL PROTECTED]> wrote: > > Does Sympy has the silimar function as printc in swiginac which can > convert expression into C++ code? Currently not, but a GHOP student started to work on it: http://code.google.com/p/sympy/issues/detail?id=475 Un

[sympy] Re: expression convert like printc

2008-08-24 Thread Vinzent Steinberg
On Aug 23, 3:31 pm, chu-ching huang <[EMAIL PROTECTED]> wrote: > Does Sympy has the silimar function as printc in swiginac which can > convert expression into C++ code? > > Thanks. > cch You might have a look at sympy/utilities/compilef.py. I implemented some very basic C generation for sympy exp