up previous next
PrintBettiDiagram

the diagram of the graded Betti numbers

Syntax
PrintBettiDiagram(M: IDEAL or (QUOTIENT)RING or MODULE or Resolution)

Description
This function prints the ("Macaulay-style") Betti diagram for M .

Example
/**/  Use R ::= QQ[t,x,y,z];
/**/  I := ideal(x^2-y*t, x*y-z*t, x*y);
/**/  RES := res(I);
/**/  PrintRes(RES);
0 --> R(-5)^2 --> R(-4)^4 --> R(-2)^3
/**/  PrintBettiDiagram(RES);
        0    1    2
--------------------
 2:     3    -    -
 3:     -    4    2
--------------------
Tot:    3    4    2

See Also