Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
| Download
GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
Project: cocalc-sagemath-dev-slelievre
Views: 418346#Example: "3gp-maxoccur-Rel-i" . . . based on: examples/maxoccur #Demonstrates usage of `PqSetMaximalOccurrences'. #vars: F, rels, procId, class; #options: OutputLevel, OutputFile F := FreeGroup("a", "b"); rels := ["a^3", "b^3"]; procId := PqStart(F : Prime := 3, Relators := rels); #comment: set a different print level by supplying <OutputLevel> PqPcPresentation(procId : ClassBound := 1, #sub <OutputLevel> for <1> if set and ok OutputLevel := 1);; PqSetMaximalOccurrences(procId, [6, 4]);; for class in [2 .. 9] do 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);;