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 792 B image not shown  

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

 
#Example"5gp-maxoccur-Rel-i" . . . based on: GrpFP_2_pQuotient6
#Demonstrates usage of `PqSetMaximalOccurrences'.
#vars: F, rels, procId, class;
#options: OutputLevel, OutputFile
F := FreeGroup("a""b");
rels := ["a^5""b^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);;
PqSetMaximalOccurrences(procId, [32]);;
for class in [2 .. 6do
  PqNextClass(procId);
od;
PqDisplayPcPresentation(procId);;
#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=96 H=89 G=92

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