source: git/Tst/Manual/depth.tst @ 894057

spielwiese
Last change on this file since 894057 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: 367 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "homolog.lib";
3ring R=0,(x,y,z),dp;
4ideal I=x2,xy,yz;
5module M=0;
6depth(M,I);   // depth(<x2,xy,yz>,Q[x,y,z])
7ring r=0,(x,y,z),ds;  // local ring
8matrix M[2][2]=x,xy,1+yz,0;
9print(M);
10depth(M);     // depth(maxideal,coker(M))
11ideal I=x;
12depth(M,I);   // depth(<x>,coker(M))
13I=x+z;
14depth(M,I);   // depth(<x+z>,coker(M))
15tst_status(1);$
Note: See TracBrowser for help on using the repository browser.