This function returns a hashtable containing the invariants printed to the file with suffix
inv, if the files are kept, i.e., if a filename is specified (see
Keeping results of the computation by Normaliz). The key of an entry is a
String describing the invariant, the value is the invariant, namely an
ZZ for rank, index, multiplicity, a
Sequence for the weights, the h-vector and the Hilbert polynomial and a
Boolean for homogeneous and primary.
i1 : R=ZZ/37[x,y,t];
|
i2 : I=ideal(x^3,x^2*y,y^3);
o2 : Ideal of R
|
i3 : nmzFilename="example";
|
i4 : setNmzOption("hilb",true);
|
i5 : intclMonIdeal I;
|
i6 : invs=getNumInvs()
o6 = HashTable{h-vector => (1, 3, 0, 0) }
height 1 elements => 7
hilbert basis elements => 7
hilbert polynomial => (6, 17, 15, 4)
homogeneous => true
homogeneous weights => (1, 1, 1, -2)
index => 1
multiplicity => 4
number extreme rays => 5
number support hyperplanes => 5
primary => false
rank => 4
o6 : HashTable
|
i7 : hvector=invs#"h-vector"
o7 = (1, 3, 0, 0)
o7 : Sequence
|
i8 : rmNmzFiles();
|