On Wednesday, May 13, 2015 at 8:06:16 PM UTC-7, Phoenix wrote: > > BTW, just curious : isn't there a way by which you could have just > randomly generated a set of q^3 permutation matrices each of dimension q^2 > instead of looking for a specific example? Can't SAGE randomly generate one > such set? >
That's really straightforward: sage: q=4 sage: G=SymmetricGroup(q^2) sage: L=[G.random_element().matrix() for i in [1..q^3]] The distribution with which the elements are selected from G is whatever Gap uses. I'd assume it's the uniform distribution. -- You received this message because you are subscribed to the Google Groups "sage-support" 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 http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
