William Stein wrote: > On Sat, Feb 28, 2009 at 2:49 PM, Jason Bandlow <jband...@gmail.com> wrote: >> This seems like a bug to me: >> >> sage: dd = {(0,0):1} >> sage: %timeit matrix(8,dd).det() >> 10 loops, best of 3: 213 ms per loop >> sage: %timeit matrix(8,dd,sparse = False).det() >> 100 loops, best of 3: 629 µs per loop >> >> Should I open a ticket? >> > > That is not a bug, but a lack of an optimization. You should > open an enhancement ticket. Likely the fix will be to implement > a 1-line function that is just > > return self.dense_matrix().det(*args, **kwds) > > until there is somebody who wants to implement a sparse algorithm. > > William
http://sagetrac.org/sage_trac/ticket/5402 Thanks, Jason --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---