A heft vector for a polynomial ring is a vector with integer entries, of the same length as the degree vectors of the variables of the ring, whose dot product with each of them is (strictly) positive. Unless one is specified explicitly, then a good one will be found automatically. The heft vector is used in various internal algorithms, such as the one in basis, as a way of organizing the sequence of steps, proceeding incrementally to larger values of the dot product of the degree of a monomial with the heft vector.












The heft vector, multiplied by 1, is used as the weight vector in the monomial ordering of the degrees ring, and the order of the series expansions of the Hilbert series refers to the weight formed with respect to that weight vector.



The heft vector is used in the computation of degrees of modules over a polynomial ring R, because it gives a homomorphism from the degrees ring of R to the Laurent polynomial ring in one variable T that sends monomials corresponding to the degrees of variables of R to positive powers of T. See degree(Module).

