next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Normaliz :: getNumInvs

getNumInvs -- returns the numerical invariants computed

Synopsis

Description

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 grading, the Hilbert series and the Hilbert quasi-polynomial and a Boolean for graded and primary (in the case of a rees algebra).

R=ZZ/37[x,y,t];
I=ideal(x^3,x^2*y,y^3);
nmzFilename="example";
setNmzOption("hilb",true);
intclMonIdeal I;
invs=getNumInvs()
hvector=invs#"hilbert series num"
invs#"hilbert series denom"
rmNmzFiles();