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:
514 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "dmodapp.lib"; |
---|
3 | ring r = 0,(x,y),dp; |
---|
4 | poly g = 2*x*y; poly f = x^2 - y^3; |
---|
5 | def B = annRat(g,f); |
---|
6 | setring B; |
---|
7 | LD; |
---|
8 | // Now, compare with the output of Macaulay2: |
---|
9 | ideal tst = 3*x*Dx + 2*y*Dy + 1, y^3*Dy^2 - x^2*Dy^2 + 6*y^2*Dy + 6*y, |
---|
10 | 9*y^2*Dx^2*Dy-4*y*Dy^3+27*y*Dx^2+2*Dy^2, 9*y^3*Dx^2-4*y^2*Dy^2+10*y*Dy -10; |
---|
11 | option(redSB); option(redTail); |
---|
12 | LD = groebner(LD); |
---|
13 | tst = groebner(tst); |
---|
14 | print(matrix(NF(LD,tst))); print(matrix(NF(tst,LD))); |
---|
15 | // So, these two answers are the same |
---|
16 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.