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 for a python syntax tree, and
sympy_to_py.py converts a sympy expression to this syntax tree.

The actual problem-specific code is here:
https://quameon.svn.sourceforge.net/svnroot/quameon/trunk/codegen/primitive_gaussian/deriv.py

It defines some functions used in quantum chemistry and computes the
first and second derivatives.

The output can be seen here
https://quameon.svn.sourceforge.net/svnroot/quameon/trunk/quameon/orbital/atomic_gto_primitive.py


Mark
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com
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