spielwiese
Last change
on this file was
7510bb,
checked in by Hans Schoenemann <hannes@…>, 8 years ago
|
format
|
-
Property mode set to
100644
|
File size:
684 bytes
|
Line | |
---|
1 | LIB "tst.lib"; |
---|
2 | LIB "nfmodsyz.lib"; |
---|
3 | tst_init(); |
---|
4 | |
---|
5 | proc tst_test_nfmodsyz(def I) |
---|
6 | { |
---|
7 | // input type ideal or module |
---|
8 | def Jtst = nfmodSyz(I); |
---|
9 | Jtst; |
---|
10 | } |
---|
11 | |
---|
12 | ring r = (0,a),(x,y,z,w),(c,dp); |
---|
13 | minpoly = a6 +a2+5; |
---|
14 | module M = (a+3)*x^2*z+y^2*w+xw + zy, x^2+11*a*x*z+(a)*z^2+y*w, |
---|
15 | ax2 + a4y2+ w3, x2yzw +aw2, x+y+w; |
---|
16 | tst_test_nfmodsyz(M); |
---|
17 | kill r; |
---|
18 | |
---|
19 | ring r = 0,(x,y,z), dp; |
---|
20 | module M = [x2z+x-7*y,z2+9*x], [y2+7*z+7,10*z3-7*x2], [-xz+52*yz,xy+49*z], |
---|
21 | [52*xyz+yz,7*xy+y+z], [10*xy+z2,xz+x+7*z]; |
---|
22 | tst_test_nfmodsyz(M); |
---|
23 | kill r; |
---|
24 | |
---|
25 | ring r = (0,a),(x,y),(dp,c); |
---|
26 | minpoly = a^3+2a+7; |
---|
27 | module M = [(a/2+1)*x^2+2/3y, 3*x-a*y+ a/7+2], [ax, y]; |
---|
28 | tst_test_nfmodsyz(M); |
---|
29 | kill r; |
---|
30 | |
---|
31 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.