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