Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/GAP/pkg/anupq/examples/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 28.7.2025 mit Größe 1 kB image not shown  

Quelle  2gp-SP-d-Rel-i   Sprache: unbekannt

 
#Example"2gp-SP-d-Rel-i" . . . based on: isom/red1.com
#vars: F, rels, procId;
#options: OutputLevel, ClassBound, StandardPresentationFile
F := FreeGroup("a""b""c""d");
rels := ["b^4""b^2 * [b, a, a]^-1""d^16""a^16 * (c * d)^-1",
         "b^8 * (d * c^4)^-1""b * (a^2 * b^-1 * a^2)^-1"];
procId := PqStart(F : Prime := 2, Relators := rels);
#comment: set a different print level by supplying <OutputLevel>
#add <OutputLevel> for <value> if set and ok
#PqSetOutputLevel(procId, value);;
PqSPComputePcpAndPCover(procId : ClassBound := 1);;
#comment: set a different `ClassBound' by supplying
#comment: also save the presentation to a file by supplying <StandardPresentationFile>
PqSPStandardPresentation(procId, [ [[0,1],
                                    [1,1]],

                                   [[0,1],
                                    [1,0]] ]

                         : options
#add <StandardPresentationFile> for <value> if set and ok
#                          StandardPresentationFile := value,
#sub <ClassBound> for <10> if set
                           ClassBound := 10,
                           PcgsAutomorphisms);;

88%


[ Dauer der Verarbeitung: 0.26 Sekunden  (vorverarbeitet)  ]