File: 4x4.py

package info (click to toggle)
normaliz 3.6.3%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 25,880 kB
  • sloc: cpp: 37,346; makefile: 1,611; python: 596
file content (15 lines) | stat: -rw-r--r-- 485 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import PyNormaliz
equations = [
[1,1,1,1,-1,-1,-1,-1,0,0,0,0,0,0,0,0],
[1,1,1,1,0,0,0,0,-1,-1,-1,-1,0,0,0,0],
[1,1,1,1,0,0,0,0,0,0,0,0,-1,-1,-1,-1],
[0,1,1,1,-1,0,0,0,-1,0,0,0,-1,0,0,0],
[1,0,1,1,0,-1,0,0,0,-1,0,0,0,-1,0,0],
[1,1,0,1,0,0,-1,0,0,0,-1,0,0,0,-1,0],
[1,1,1,0,0,0,0,-1,0,0,0,-1,0,0,0,-1],
[0,1,1,1,0,-1,0,0,0,0,-1,0,0,0,0,-1],
[1,1,1,0,0,0,-1,0,0,-1,0,0,-1,0,0,0]]

grading = [1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0]

c = PyNormaliz.Cone( equations = equations, grading = grading)