On Aug 28, 9:16 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> 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!!
>

Great. I should actually use Sage more instead of just hacking around
it. Than I could have done that in a second, too.

>
>
> > I am rerunning sage -testall at the moment to make sure that nothing
> > else is negatively affected by the fix.
>

sage -testall passed.

> > Once more: kudos to Clement.
>
> > Cheers,
>
> > Michael
>

Cheers,

Michael


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