File: 6.23.txt

package info (click to toggle)
gap-hap 1.70%2Bds-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 56,612 kB
  • sloc: xml: 16,139; sh: 216; javascript: 155; makefile: 126; ansic: 47; perl: 36
file content (12 lines) | stat: -rw-r--r-- 242 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
gap> f:=3*SolutionsMod2[3] - SolutionsMod3[5];   #An example solution to Mf=0 mod 6.
[ 3, 3, -1, -1 ]

gap> Standard_f:=StandardCocycle(R,f,3,6);;

gap> g:=Random(G); h:=Random(G); k:=Random(G);
(1,2)
(1,3,2)
(1,3)

gap> Standard_f(g,h,k);
3