File: 1.2.2

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 (8 lines) | stat: -rw-r--r-- 268 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
2simplices:=
[[1,2,5], [2,5,8], [2,3,8], [3,8,9], [1,3,9], [1,4,9],
 [4,5,8], [4,6,8], [6,8,9], [6,7,9], [4,7,9], [4,5,7],
 [1,4,6], [1,2,6], [2,6,7], [2,3,7], [3,5,7], [1,3,5]];;
K:=SimplicialComplex(2simplices);
Y:=RegularCWComplex(K);
Print(K,"\n");
Print(Y,"\n");