Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/GAP/tst/testbugfix/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 18.9.2025 mit Größe 597 B image not shown  

Quelle  2017-07-27.tst   Sprache: unbekannt

 
# RepresentativeAction used to produce incorrect answers for both
# symmetric and alternating groups, with both OnTuples and OnSets, by
# producing elements outside the group.
# This bug was originally reported by Mun See Chang.
gap> RepresentativeAction(SymmetricGroup([5,7,11,15]),[7,11],[5,15],OnTuples);
(5,7)(11,15)
gap> RepresentativeAction(AlternatingGroup([5,7,11,15]),[7,11],[5,15],OnTuples);
(5,7)(11,15)
gap> RepresentativeAction(SymmetricGroup([5,7,11,15]),[7,11],[5,15],OnSets);
(5,7)(11,15)
gap> RepresentativeAction(AlternatingGroup([5,7,11,15]),[7,11],[5,15],OnSets);
(5,7)(11,15)

[ Dauer der Verarbeitung: 0.9 Sekunden  (vorverarbeitet)  ]