On Friday 05 September 2008, phil wrote:
> R.<x,y> = QQ[]
> C = random_matrix(R,10,10)
> Cdet = C.determinant()

Here's a workaround:

sage: R.<x,y> = QQ[]
sage: C = random_matrix(R,8,8)
sage: %time d = C.determinant()
CPU times: user 2.64 s, sys: 0.00 s, total: 2.65 s
Wall time: 2.67 s

sage: %time d2 = R(C._singular_().det())
CPU times: user 0.04 s, sys: 0.01 s, total: 0.05 s
Wall time: 0.15 s

sage: d2 == d
True

So we need to call Singular instead of using the native code. This is now 

  http://trac.sagemath.org/sage_trac/ticket/4068

Cheers,
Martin
-- 
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99
_www: http://www.informatik.uni-bremen.de/~malb
_jab: [EMAIL PROTECTED]


--~--~---------~--~----~------------~-------~--~----~
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-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to