[SciPy-User] Speeding up integrate.odeint with weave/blitz
Wed Dec 8 16:37:38 CST 2010
On Wed, Dec 8, 2010 at 10:07 PM, Rob Clewley <email@example.com> wrote:
>>> It will automatically compile the dX_dt function you
>>> specify into C and link it with the C integrator.
>> Does that mean that your tool translates Python to C?
> No, it translates an almost-subset of python, specified by strings or
> symbolic objects, to actual python or C, using declared variable and
> parameter names rather than an indexed array. The two non-python
> statements are an "if" function and a "for" macro.
Could you point me to some short code example where the "for" macro is used?
> You can call other
> user-defined functions declared in a similar way. You can also drop in
> arbitrary code into the internally-created function before or after
> these strings are coded. And you can import arbitrary libraries for
> both python and C targets.
> Robert Clewley, Ph.D.
> Assistant Professor
> Neuroscience Institute and
> Department of Mathematics and Statistics
> Georgia State University
> PO Box 5030
> Atlanta, GA 30302, USA
> tel: 404-413-6420 fax: 404-413-5446
> SciPy-User mailing list
More information about the SciPy-User