[SciPy-user] symbolic math & scipy (& maxima)...

Gael Varoquaux gael.varoquaux at normalesup.org
Mon Aug 7 09:39:59 CDT 2006


On Mon, Aug 07, 2006 at 04:32:17PM +0200, Xavier Gnata wrote:
> Hi,

> I perform the same kind of job with mathematica and python :
> 1) Compute what you want using mathematica/maxima/...
> 2) export the result as text in a syntax as close as possible as python 
> once (mathematica can export to C code for instance)
> 3) Perform tiny modification on the resulting strings so that it 
> corresponds with python syntax.
> 4) use exec() and that's it.

    Better still: use weave.inline, and pure c code.

-- 
    Gaël


More information about the SciPy-user mailing list