Am 12.01.2011 00:44, schrieb Pornrat Ruengrot:
I think it's because the program is trying to build the whole list D first before running over each element. But I just want the program to start right away without building the whole list first. For example it can choose a random first element then at the end of the loop find the next (random) representative and so on.
Hi, maybe the following code is helpful: D:=G; while ... do x:=Random(D); D:=Difference(D,DoubleCoset(P,x,P)); od; Best wishes, Benjamin Sambale _______________________________________________ Forum mailing list Forum@mail.gap-system.org http://mail.gap-system.org/mailman/listinfo/forum