source: git/Tst/Manual/betti_BR_PLURAL_BR.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: 425 bytes
Line 
1LIB "tst.lib"; tst_init();
2int i;int N=2;
3ring r=0,(x(1..N),d(1..N),q(1..N)),Dp;
4matrix D[3*N][3*N];
5for (i=1;i<=N;i++)
6{ D[i,N+i]=q(i)^2; }
7def W=nc_algebra(1,D); setring W;
8// this algebra is a kind of homogenized Weyl algebra
9W;
10ideal I = x(1),x(2),d(1),d(2),q(1),q(2);
11option(redSB);
12option(redTail);
13resolution R = mres(I,0);
14// thus R will be the full length minimal resolution
15print(betti(R),"betti");
16tst_status(1);$
Note: See TracBrowser for help on using the repository browser.