File: 4.1.1

package info (click to toggle)
gap-hap 1.66%2Bds-1
  • links: PTS
  • area: main
  • in suites: trixie
  • size: 55,348 kB
  • sloc: xml: 15,368; sh: 216; javascript: 155; makefile: 126; ansic: 57; perl: 36
file content (11 lines) | stat: -rw-r--r-- 390 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
G:=SymmetricGroup(5);;
R:=ResolutionFiniteGroup(G,4);;
Print(Homology(TensorWithIntegers(R),2),"\n");
Print(Homology(TensorWithIntegers(R),3),"\n");
Print(R!.dimension(3),"\n");
M:=CocycleCondition(R,3);;
Mod4:=NullspaceModQ(TransposedMat(M),4);;
Mod3:=NullspaceModQ(TransposedMat(M),3);;
v:=Random(Mod4)+Random(Mod3);;
f:=StandardCocycle(R,v,3,12);
Print(f((1,2,3),(1,5,3),(2,3,4)),"\n");