On Sun, Feb 1, 2009 at 1:18 PM, Tim Lahey <[email protected]> wrote:
>
>
> 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?

I would love to know.  I've cc'd Allan Steel, since he would know.
Maybe he'll tell us.
Allan, for reference the complete thread for this discussion is:

http://groups.google.com/group/sage-devel/browse_thread/thread/30d4a52c2795feb9

By the way, we are having major problems with Sage on Fedora 64-bit...
and somebody mentioned you might have some tricks to fix this.  The
thread about that is here:

http://groups.google.com/group/sage-devel/browse_thread/thread/2fb1559f44c8b81/d44c763f8f666bf0?lnk=gst&q=fedora+64-bit#d44c763f8f666bf0


 -- William

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to