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##################################################################### InstallGlobalFunction(ModPCohomologyRing, function(arg) local A; if Length(arg)=1 then A:=ModPCohomologyRing_part_1(arg[1]);fi; if Length(arg)=2 then A:=ModPCohomologyRing_part_1(arg[1],arg[2]);fi; if Length(arg)=3 then A:=ModPCohomologyRing_part_1(arg[1],arg[2],arg[3]);fi; if arg[Length(arg)]="high" or arg[Length(arg)]="low" then A:=ModPCohomologyRing_part_2(A); fi; return A; end); ##################################################################### ##################################################################### InstallGlobalFunction(ModPCohomologyGenerators, function(arg) local A; if IsHapResolution(arg[1]) then A:=ModPCohomologyRing_part_1(arg[1],"low");fi; if IsGroup(arg[1]) then A:=ModPCohomologyRing_part_1(arg[1],arg[2],"low");fi; return [ModPRingGenerators(A),A!.degree]; end); #####################################################################