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