You might try to look at __pow__ (2 underscores) On Jul 5, 1:39 pm, Simon King <simon.k...@nuigalway.ie> wrote: > On Jul 5, 12:01 pm, Simon King <simon.k...@nuigalway.ie> wrote: > > > ... > > Shouldn't one at least avoid the overhead in calling a Python function > > whose only purpose is to call a Cython function? By renaming > > generic_power_c to generic_power and making it cpdef, for example? > > I guess this wouldn't help, as the function is not recursively called > (so, little overhead). However, using a genuine libsingular > exponentiation could be a nice thing, IMO. > > Cheers, > Simon
-- 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