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

Quelle  B2-8-i   Sprache: unbekannt

 
#Example: "B2-8-i" . . . based on: examples/B2-8
#Construction of B(2,8)
#vars: F, procId;
#options: OutputLevel, ClassBound, OutputFile
F := FreeGroup("a", "b");
procId := PqStart(F : Prime := 2, Exponent := 8);
#comment: set a different `ClassBound' by supplying <ClassBound>
#comment: also set a different print level by supplying <OutputLevel>
#sub <ClassBound> for <10> if set and ok
PqPcPresentation(procId : ClassBound := 10, 
#sub <OutputLevel> for <1> if set and ok
                          OutputLevel := 1);;
#comment: save the presentation to a different file by supplying <OutputFile>
#sub <OutputFile> for <ANUPQData.outfile> if set and ok
PqSavePcPresentation(procId, ANUPQData.outfile);;

[ Dauer der Verarbeitung: 0.19 Sekunden  (vorverarbeitet)  ]