On 8/28/07, mabshoff <[EMAIL PROTECTED]> wrote:
> It computes the determinant as follows:
>
>  sage: M=Matrix(Integers(),20,20,L)
>  sage: M.det()
>  3951360
>  sage: M.rank()
>  20

> Can anybody verify that this is the correct result?

Yep, via PARI (also in SAGE):

sage: gp(M).matdet()
3951360

or via the charpoly command:
sage: M.charpoly()[0]
3951360

Thanks!!

>
> I am rerunning sage -testall at the moment to make sure that nothing
> else is negatively affected by the fix.
>
> Once more: kudos to Clement.
>
> Cheers,
>
> Michael
>
>
> >
>


-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://www.williamstein.org

--~--~---------~--~----~------------~-------~--~----~
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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to