Synopsis:
P i -- the value of a projective Hilbert polynomial P at an integer i.
i1 : P = projectiveHilbertPolynomial 2 |
i2 : apply(0 .. 12, i -> P i) |
See also:
Code:
-- ../../../Macaulay2/m2/modules2.m2:261 ProjectiveHilbertPolynomial ZZ := (P,i) -> sum(pairs P, (n,c) -> c * binomial(n+i,n))