On Sunday, April 24, 2016 at 4:13:44 AM UTC-7, Jori Mäntysalo wrote:
>
> On Sun, 24 Apr 2016, Volker Braun wrote: 
>
> >    Warning: Matrices generated are not uniformly distributed. For 
> >      unimodular matrices over finite field this function does not even 
> > 
> > At least its not THAT predictable ;-) 
> > 
> > ... after some attempts ... 
> > sage: MatrixSpace(GF(3), 2, 2).random_element() 
> > [2 0] 
> > [0 2] 
>
> Unimodular! This happens with algorithm='unimodular'. 
>
> Yes, but the docstring itself still needs to be corrected: it says 'for 
example "Matrix.random(GF(3), 2)" never generates "[[2,0],[0,2]]".' without 
the flag.

Kiran

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to