Macaulay2 » Documentation
Packages » Macaulay2Doc » commutative algebra » hilbertPolynomial » ProjectiveHilbertPolynomial » dim(ProjectiveHilbertPolynomial)
next | previous | forward | backward | up | index | toc

dim(ProjectiveHilbertPolynomial) -- the degree of the Hilbert polynomial

Description

The command dimis designed so that the result is the dimension of the projective scheme that may have been used to produce the given Hilbert polynomial.
i1 : V = Proj(QQ[x_0..x_5]/(x_0^3+x_5^3))

o1 = V

o1 : ProjectiveVariety
i2 : P = hilbertPolynomial V

o2 = P  - 3*P  + 3*P
      2      3      4

o2 : ProjectiveHilbertPolynomial
i3 : dim P

o3 = 4

See also

Ways to use this method:


The source of this document is in Macaulay2Doc/functions/dim-doc.m2:78:0.