On Sunday, April 24, 2016 at 12:36:28 AM UTC+2, Dima Pasechnik wrote:
>
> sage: random_matrix?
> ...
>    Warning: Matrices generated are not uniformly distributed. For
>      unimodular matrices over finite field this function does not even
>      generate all of them: for example "Matrix.random(GF(3), 2)" never
>      generates "[[2,0],[0,2]]". This function is made for teaching
>      purposes.
>
>
At least its not THAT predictable ;-)

... after some attempts ...
sage: MatrixSpace(GF(3), 2, 2).random_element()
[2 0]
[0 2]

-- 
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 [email protected].
To post to this group, send email to [email protected].
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