spielwiese
Last change
on this file since 6fb723 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:
473 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | ring r=0,(x,y,z),dp; |
---|
3 | ideal i=xz,yz,x3-y3; |
---|
4 | def l=res(i,0); // homogeneous ideal: uses lres |
---|
5 | l; |
---|
6 | print(betti(l), "betti"); // input to betti may be of type resolution |
---|
7 | l[2]; // element access may take some time |
---|
8 | i=i,x+1; |
---|
9 | l=res(i,0); // inhomogeneous ideal: uses mres |
---|
10 | l; |
---|
11 | ring rs=0,(x,y,z),ds; |
---|
12 | ideal i=imap(r,i); |
---|
13 | def l=res(i,0); // local ring not minimized: uses sres |
---|
14 | l; |
---|
15 | res(i,0,0); // local ring and minimized: uses mres |
---|
16 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.