up previous next
PrintRes

print free resolution

Syntax
PrintRes(M)

Description
This function prints the minimal free resolution of M . (see res ).

Example
/**/  Use R ::= QQ[x,y,z];
/**/  I := ideal(x, y, z^2);
/**/  RES := res(I);
/**/  PrintRes(I);   -- recomputes resolution
0 --> R(-4) --> R(-2)(+)R(-3)^2 --> R(-1)^2(+)R(-2)
/**/  PrintRes(RES); -- just prints RES
0 --> R(-4) --> R(-2)(+)R(-3)^2 --> R(-1)^2(+)R(-2)
/**/  PrintBettiDiagram(RES); -- just prints the BettiDiagram for RES
        0    1    2
--------------------
  1:    2    1    -
  2:    1    2    1
--------------------
Tot:    3    3    1

See Also