[SciPy-user] symbolic math & scipy (& maxima)...
Jelle Feringa / EZCT Architecture & Design Research
jelle.feringa at ezct.net
Mon Aug 7 13:14:54 CDT 2006
could be interesting for dealing with symbolic computation
From: scipy-user-bounces at scipy.org [mailto:scipy-user-bounces at scipy.org] On
Behalf Of Gael Varoquaux
Sent: Monday, August 07, 2006 8:02 PM
To: SciPy Users List
Subject: Re: [SciPy-user] symbolic math & scipy (& maxima)...
On Mon, Aug 07, 2006 at 07:59:12PM +0200, fred wrote:
> Gael Varoquaux a écrit :
> > On Mon, Aug 07, 2006 at 04:32:17PM +0200, Xavier Gnata wrote:
> >>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.
> I read a little about weave.inline.
> But I don't understand the use of "pure c code".
I was talking about Xavier's idea: do step 1 and 2 as he says, and
use weave.inline to use the c code generated by mathematica.
SciPy-user mailing list
SciPy-user at scipy.org
More information about the SciPy-user