source: git/Tst/Manual/res.tst @ 6fb723

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