Hi Maximillian, On Fri, 27 Jan 2012 19:27:45 +0100 Maximilian Trescher <faucon.emeril...@googlemail.com> wrote:
> I'm very new to the developers list. > About my background: I'm studying physics (in Berlin) and I'm using > sage regularly for some physical calculations. > > Three days ago I wondered if there is any possibility to create a > "numpy-enabled" function from a sage's symbolic expression. But i > couldn't find a solution. > (Right: there is fast_callable, but it doesn't "eat" numpy arrays) > > So I came to an own solution, and thought it might be of interest for > you. You can find it here: > > https://github.com/faucon/numpybuilder > > I would be happy to contribute this to sage, if you think there is a > need for it. You should use the infrastructure (written by Mike Hansen) in sage.symbolic.expression_conversions to do this. Once somebody (me?) changes that to use ginac directly for tree traversal, that will be the fastest way to do these conversions. Cheers, Burcin -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org