spielwiese
Last change
on this file since 7bb006 was
894057,
checked in by Oleksandr Motsak <motsak@…>, 13 years ago
|
ADD: Tests from online manual (res+stat on mamawutz): short ones Tst/Manual/s.lst
|
-
Property mode set to
100644
|
File size:
517 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | ring r=32003,(a,b,c,d),dp; |
---|
3 | ideal j=bc-ad,b3-a2c,c3-bd2,ac2-b2d; |
---|
4 | list T=mres(j,0); // 0 forces a full resolution |
---|
5 | // a minimal set of generators for j: |
---|
6 | print(T[1]); |
---|
7 | // second syzygy module of r/j which is the first |
---|
8 | // syzygy module of j (minimal generating set): |
---|
9 | print(T[2]); |
---|
10 | // the second syzygy module (minimal generating set): |
---|
11 | print(T[3]); |
---|
12 | print(T[4]); |
---|
13 | betti(T); |
---|
14 | // most useful for reading off the graded Betti numbers: |
---|
15 | print(betti(T),"betti"); |
---|
16 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.