spielwiese
Last change
on this file since c25b56c was
c25b56c,
checked in by Adrian Popescu <adi_popescum@…>, 11 years ago
|
SB over rings with local ordering
add: new tests
|
-
Property mode set to
100644
|
File size:
437 bytes
|
Line | |
---|
1 | LIB "tst.lib"; |
---|
2 | tst_init(); |
---|
3 | |
---|
4 | option(prot); |
---|
5 | ring R=0,(x,y,z),ds; |
---|
6 | ideal i= x3yz+x10,xy2z2,xyz3; |
---|
7 | ideal si=std(i); |
---|
8 | intvec v=hilb(si,1); |
---|
9 | ideal ss=std(i,v); |
---|
10 | for(int l=1;l<=size(si);l++) |
---|
11 | { |
---|
12 | if(si[l]!=ss[l]) |
---|
13 | {"false";} |
---|
14 | } |
---|
15 | |
---|
16 | |
---|
17 | option(prot); |
---|
18 | ring R=0,(x,y,z),ls; |
---|
19 | ideal i= x3yz+x100,xy2z2+x13y66,xyz3+z10; |
---|
20 | ideal si=std(i); |
---|
21 | intvec v=hilb(si,1); |
---|
22 | ideal ss=std(i,v); |
---|
23 | for(int l=1;l<=size(si);l++) |
---|
24 | { |
---|
25 | if(si[l]!=ss[l]) |
---|
26 | {"false";} |
---|
27 | } |
---|
28 | |
---|
29 | |
---|
30 | tst_status(1); |
---|
31 | $ |
---|
Note: See
TracBrowser
for help on using the repository browser.