Re: Using sympy for code generation.

2008-02-02 Thread Ondrej Certik
Hi Mark, On Jan 7, 5:52 am, Mark Dewing [EMAIL PROTECTED] wrote: Ondrej, Yes, the code computes the S,P, and D gaussian-type orbitals and outputs python functions to compute the function value and derivatives. Please do add it to the sympy examples if you wish, and let me know if there's

Using sympy for code generation.

2008-01-06 Thread Mark Dewing
Here's a use for sympy that I thought might be interesting to the list. Sympy computes derivatives that are then used in generated python code. The code generation code is located here https://quameon.svn.sourceforge.net/svnroot/quameon/trunk/codegen/ In particular, lang_py.py defines nodes

Re: Using sympy for code generation.

2008-01-06 Thread Ondrej Certik
On Jan 6, 2008 4:22 PM, Kirill Smelkov [EMAIL PROTECTED] wrote: On Sun, Jan 06, 2008 at 07:03:26AM -0800, Mark Dewing wrote: Here's a use for sympy that I thought might be interesting to the list. Sympy computes derivatives that are then used in generated python code. The code