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?
Thanks! Oscar On 3 feb, 08:04, Jason Grout <[email protected]> wrote: > On 2/3/12 8:02 AM, Jason Grout wrote: > > > The end result was that the straight Cython version was about 13.6 us, > > the expanded version (where e**(k*I) were precomputed) was about 9 us. > > The straight fortran version was 10.2 us, and the expanded fortran > > version (with the powers of e precomputed) was an amazing 3.26 us! > > Seehttp://sagenb.org/home/pub/4204/for details > > 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
