spielwiese
Last change
on this file since 951db29 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:
659 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "fpadim.lib"; |
---|
3 | ring r = 0,(x,y),dp; |
---|
4 | def R = makeLetterplaceRing(5); // constructs a Letterplace ring |
---|
5 | R; |
---|
6 | setring R; // sets basering to Letterplace ring |
---|
7 | //some intmats, which contain monomials in intvec representation as rows |
---|
8 | intmat I1 [2][2] = 1,1,2,2; intmat I2 [1][3] = 1,2,1; |
---|
9 | intmat J1 [1][2] = 1,1; intmat J2 [2][3] = 2,1,2,1,2,1; |
---|
10 | print(I1); |
---|
11 | print(I2); |
---|
12 | print(J1); |
---|
13 | print(J2); |
---|
14 | list G = I1,I2; // ideal, which is already a Groebner basis |
---|
15 | list I = J1,J2; // ideal, which is already a Groebner basis |
---|
16 | //the procedure without a degree bound |
---|
17 | ivDHilbert(G,2); |
---|
18 | // the procedure with degree bound 5 |
---|
19 | ivDHilbert(I,2,5); |
---|
20 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.