Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/anupq/examples/   (GAP Algebra Version 4.15.1©)  Datei vom 28.7.2025 mit Größe 785 B image not shown  

Quelle  5gp-metabelian-Rel-i   Sprache: unbekannt

 
#Example"5gp-metabelian-Rel-i" . . . based on: examples/metabelian
#Demonstrates usage of `PqSetMetabelian'.
#vars: F, rels, procId, class;
#options: OutputLevel, OutputFile
F := FreeGroup("a""b");
rels := ["a^625""b^625""[b, a, b]""[b, a, a, a, a] * [b, a]^-5"];
procId := PqStart(F : Prime := 5, Relators := rels);
#comment: set a different print level by supplying <OutputLevel>
PqPcPresentation(procId : ClassBound := 1
#sub <OutputLevel> for <1if set and ok
                          OutputLevel := 1);;
PqSetMetabelian(procId);
for class in [2 .. 14do
  PqNextClass(procId);
od;
#comment: save the presentation to a different file by supplying <OutputFile>
#sub <OutputFile> for <ANUPQData.outfile> if set and ok
PqSavePcPresentation(procId, ANUPQData.outfile);;

Messung V0.5 in Prozent
C=98 H=98 G=97

[Dauer der Verarbeitung: 0.12 Sekunden, vorverarbeitet 2026-06-18]