http://www.gap-system.org/Manuals/doc/ref/chap24.html#X79CC5F568252D341

On Saturday, April 25, 2015 at 5:46:21 PM UTC-4, David Roe wrote:
>
> On the Sage side, it's in sage/groups/libgap_mixin.py, and just calls 
> G.gap().Random().  I'm not sure where the documentation or source code is 
> on the Gap side.
> David
>
> On Fri, Apr 24, 2015 at 9:27 AM, Jori Mäntysalo <jori.ma...@uta.fi 
> <javascript:>> wrote:
>
>> For some time I wonder how to generate random matrices of Zmod(n). But 
>> Sage already have them:
>>
>> G = GL(3,Zmod(4)); G.random_element()
>>
>> So Matrix.random() may (at least in some situations) just use this.
>>
>> A question: Where is the documentation and/or source code for this? I 
>> would like to know how GAP does it. (Maybe it knows about generators and 
>> somehow use that info.)
>>
>> -- 
>> Jori Mäntysalo
>>
>
>

-- 
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 http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to