File: simple.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 (11 lines) | stat: -rw-r--r-- 250 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
import PyNormaliz

ineq = [ [ 0,0,1 ], [ 0,1,0 ],[1,0,0] ];

cone = PyNormaliz.NmzCone(["cone", ineq ])

PyNormaliz.NmzResult( cone, "HilbertBasis" )

cone2 = PyNormaliz.NmzResult( cone, "IntegerHull" )

PyNormaliz.NmzResult( cone2, "HilbertBasis" )