Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

563501 views
#Example: "2gp-Rel-i" . . . based on: examples/2gp
#vars: F, rels, procId;
#options: OutputLevel, ClassBound, OutputFile
F := FreeGroup("a", "b");
rels := ["[b, a, a]", "(a * b * a)^4"];
procId := PqStart(F : Prime := 2, Relators := rels);
#comment: set a different `ClassBound' by supplying <ClassBound>
#comment: also set a different print level by supplying <OutputLevel>
#sub <ClassBound> for <6> if set and ok
PqPcPresentation(procId : ClassBound := 6, 
#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);;