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

getNumInvs -- returns the numerical invariants computed

Synopsis

Description

This function returns a list whose length depends on the invariants available. The order of the elements in the list is always the same. Each list element has two parts. The first is a String describing the invariant, the second 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 : setNmzOption("hilb",true);
i4 : intclMonIdeal(I);
i5 : getNumInvs()

o5 = {{hilbert basis elements, 6}, {number extreme rays, 4}, {rank, 3},
     ------------------------------------------------------------------------
     {index, 1}, {number support hyperplanes, 4}, {homogeneous, true},
     ------------------------------------------------------------------------
     {height 1 elements, 6}, {homogeneous weights, (1, 1, -2)},
     ------------------------------------------------------------------------
     {multiplicity, 4}, {h-vector, (1, 3, 0)}, {hilbert polynomial, (2, 6,
     ------------------------------------------------------------------------
     4)}, {primary, true}, {ideal multiplicity, 9}}

o5 : List
Note: This function is available even if no filename has been specified.

See also