Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/wpe/tst/files/human-created/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 21.9.2024 mit Größe 604 B image not shown  

Quelle  testNonConjugacy.tst   Sprache: unbekannt

 
gap> TestConjugacy := function(K, H, n)
>     local G,i,g,h,c;
>     G := WreathProduct(K, H);
>     for i in [1..n] do
>         g := PseudoRandom(G);
>         h := PseudoRandom(G);
>         c := RepresentativeAction(G, g, h);
>         if c <> fail and g ^ c <> h then
>             return false;
>         fi;
>     od;
>     return true;
> end;;
gap> K := AlternatingGroup(15);;
gap> H := SymmetricGroup(25);;
gap> TestConjugacy(K, H, 20);
true
gap> K := AlternatingGroup(15);;
gap> H := DirectProduct([SymmetricGroup(10),SymmetricGroup(10),SymmetricGroup(5)]);;
gap> TestConjugacy(K, H, 20);
true

[ Dauer der Verarbeitung: 0.24 Sekunden  (vorverarbeitet)  ]