Hej Guilherme, Here at http://www.sagenb.org/home/pub/3117/ there is a modified version of your worksheet wich uses fast_callable to make your example way faster. It is not as fast as your fortran example, but as the timings at the bottom show this in not very reasonable to expect in pure python, since the time my version takes is comparable to the time it takes to initialize a Numpy array from pure python!
The reason why you think fortran is easier is probably because you know fortran already but, don't know cython yet (wild guess about your background). Hope this helps, Thanks Maarten -- 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