next | previous | forward | backward | up | top | index | toc | packages | Macaulay2 website
MultiprojectiveVarieties :: hilbertPolynomial(EmbeddedProjectiveVariety)

hilbertPolynomial(EmbeddedProjectiveVariety) -- the Hilbert polynomial of the variety

Synopsis

Description

i1 : X = PP_QQ^(2,3);

o1 : ProjectiveVariety, surface in PP^9
i2 : hilbertPolynomial X

o2 = P  - 9*P  + 9*P
      0      1      2

o2 : ProjectiveHilbertPolynomial
i3 : hilbertPolynomial(X,Projective=>false)

     9 2   9
o3 = -i  + -i + 1
     2     2

o3 : QQ[i]

See also

Ways to use this method: