source: git/Tst/Short/nfmodsyz_s.tst

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 
1LIB "tst.lib";
2LIB "nfmodsyz.lib";
3tst_init();
4
5proc tst_test_nfmodsyz(def I)
6{
7   // input type ideal or module
8   def Jtst = nfmodSyz(I);
9   Jtst;
10}
11
12ring r = (0,a),(x,y,z,w),(c,dp);
13minpoly = a6 +a2+5;
14module 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;
16tst_test_nfmodsyz(M);
17kill r;
18
19ring r = 0,(x,y,z), dp;
20module 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];
22tst_test_nfmodsyz(M);
23kill r;
24
25ring r = (0,a),(x,y),(dp,c);
26minpoly = a^3+2a+7;
27module M = [(a/2+1)*x^2+2/3y, 3*x-a*y+ a/7+2], [ax, y];
28tst_test_nfmodsyz(M);
29kill r;
30
31tst_status(1);$
Note: See TracBrowser for help on using the repository browser.