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

fred fredantispam at free.fr
Mon Aug 7 13:59:12 EDT 2006


Gael Varoquaux a écrit :
> 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.
I read a little about weave.inline.
But I don't understand the use of "pure c code".
What do you mean ?
How can I get the derivative of the associated Legendre polynomial vs
theta ?

-- 
Fred.



More information about the SciPy-User mailing list