On Feb 1, 2009, at 4:01 PM, William Stein wrote:
> > On Sun, Feb 1, 2009 at 12:46 PM, William Stein <[email protected]> > wrote: >> On Sun, Feb 1, 2009 at 11:21 AM, Roman Pearce <[email protected]> >> wrote: >>> >>> I just want to point out the Maple's linear algebra is not quite as >>> bad as old Linbox times imply. The linalg package has been obsolete >>> for some time now. >> >> It should print a deprecation warning so I would know. Could you >> suggest that? >> >> Does >> >> A := LinearAlgebra:-RandomMatrix(n); >> >> create a random matrix with entries uniformly distributed between >> -99 and 99? >> >> I just tried a few timings comparing Sage and Maple with the commands >> you suggest and using "a = random_matrix(ZZ,200,x=-99,y=99)" in Sage: >> >> n=200, sage: 0.56 >> n=200, Maple: 0.52 >> >> n=400, sage: 3.22 seconds >> n=400, maple: 6.07 seconds >> >> n=800, sage: 25.1 seconds >> n=800, maple: 146.4 seconds >> >> n=1200, sage: 83.3 seconds >> n=1200, maple: > > That finished so in Maple 12 on sage.math (Dunnington 2.6Ghz Xeon): > > n=1200, sage: 83.3 seconds > n=1200, maple: 1045.069 seconds. > > By the way, Magma does this 1200x1200 example in 28 seconds! Magma is > very very good at dets around this size when the entries of the input > matrix are small. When they are big, Sage is much better than Magma > (or anything else). > Maple's Linear Algebra is noted for not being particularly good at large sizes. With symbolic entries, it's much worse. Thanks for these timings, it just reinforces my idea that I should switch as soon as the calculus improves. Is there a particular reason why Magma is that much better for small inputs? Cheers, Tim. --- Tim Lahey PhD Candidate, Systems Design Engineering University of Waterloo http://www.linkedin.com/in/timlahey --~--~---------~--~----~------------~-------~--~----~ 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-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
