Macaulay2 » Documentation
Packages » RandomSpaceCurves :: expectedBetti
next | previous | forward | backward | up | index | toc

expectedBetti -- compute the expected betti table from the Hilbert numerator

Synopsis

Description

calculates the expected betti table from a given Hilbert Numerator.

i1 : T=ZZ[t]

o1 = T

o1 : PolynomialRing
i2 : q=1-3*t^2+2*t^3

       3     2
o2 = 2t  - 3t  + 1

o2 : T
i3 : expectedBetti q

            0 1 2
o3 = total: 1 3 2
         0: 1 . .
         1: . 3 2

o3 : BettiTally
i4 : q=1-5*t^2+5*t^3-t^5

        5     3     2
o4 = - t  + 5t  - 5t  + 1

o4 : T
i5 : expectedBetti q

            0 1 2 3
o5 = total: 1 5 5 1
         0: 1 . . .
         1: . 5 5 .
         2: . . . 1

o5 : BettiTally

Ways to use expectedBetti :

For the programmer

The object expectedBetti is a method function.