[top][index]
search for:

ProjectiveHilbertPolynomial ZZ -- value of polynomial

Synopsis:

  • Operator: symbol " " -- blank operator for adjacent expressions
  • Input:
  • an instance of class ProjectiveHilbertPolynomial.
  • an instance of class ZZ.
  • P i -- the value of a projective Hilbert polynomial P at an integer i.

    i1 : P = projectiveHilbertPolynomial 2

    o1 = P
          2

    o1 : ProjectiveHilbertPolynomial
    i2 : apply(0 .. 12, i -> P i)

    o2 = (1, 3, 6, 10, 15, 21, 28, 36, 45, 55, 66, 78, 91)

    o2 : Sequence

    See also:

  • ProjectiveHilbertPolynomial -- the class of all Hilbert polynomials
  • Code:

         -- ../../../Macaulay2/m2/modules2.m2:261
         ProjectiveHilbertPolynomial ZZ := (P,i) -> sum(pairs P, (n,c) -> c * binomial(n+i,n))

    [top][index]
    search for: