On 2/6/12 1:33 PM, Oscar Lazo wrote:
That is very nice! Unfortunately I need to evaluate many different
expressions quickly, so the copy-paste aproach is not an option.
That's why I wrote the fast_complex function. I'll be working in such
a general implementation, do you think it's worth getting it into
sage, or should fast_float be modified to accept complex expressions?

fast_callable is the answer to getting fast_float to accept complex expressions. Seeing how fortran just stomps on fast_callable and even copy-paste of Cython (i.e., it's *way* faster), I think it would be really cool to get a fast_callable backend that uses fortran. A step towards that would be your fortran-generating fast_complex.

It could be called as fast_callable(expr, domain=CDF, compiler="fortran") or something.

Thanks,

Jason

--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to