source: git/Tst/Long/nfmodsyz_l.tst @ 204cf0

spielwiese
Last change on this file since 204cf0 was 204cf0, checked in by dere <dkifle16@…>, 8 years ago
add: new library nfmodsyz.lib
  • Property mode set to 100644
File size: 1.5 KB
Line 
1<<<<<<< Updated upstream
2=======
3//
4>>>>>>> Stashed changes
5LIB "tst.lib";
6LIB "nfmodsyz.lib";
7tst_init();
8
9proc tst_test_nfmodsyz(def I)
10{
11   // input type ideal or module
12   //system("--ticks-per-sec",1000);
13   //int t = rtimer;
14   def Jtst = nfmodSyz(I); //rtimer-t;
15   Jtst;
16}
17
18ring r = 0,(x,y,z),dp;
19module M = [x2z+x-7*y,z2+9*x], [y2+7*z+7,10*z3-7*x2], [-xz+52*yz,xy+49*z],
20           [52*xyz+yz,7*xy+y+z], [10*xy+z2,xz+x+7*z];
21tst_test_nfmodsyz(M);
22kill r;
23
24ring r = (0,a),(x,y),(dp,c);
25minpoly = a^3+2a+7;
26module M = [(a/2+1)*x^2+2/3y, 3*x-a*y+ a/7+2], [ax, y];
27tst_test_nfmodsyz(M);
28kill r;
29
30ring r = (0,a),(x,y,z),(c,dp);
31minpoly = a3+a+1;
32module M = [x2z+x+(-a)*y, z2+(a+2)*x],
33           [y2+(a)*z+(a), (a+3)*z3+(-a)*x2],
34           [-xz+(a2+3)*yz, xy+(a2)*z];
35tst_test_nfmodsyz(M);
36kill r;
37
38ring r = (0,a), (x,y,z), (c,dp);
39minpoly = a^3+7a-5;
40module M = [(a+8)*x2y2+5*xy3,(-a2+3)*x3z+x2yz], [x5+2*y3z2,13*a*y2z3+5*yz4],
41           [8*x3+(a2+12)*y3,xz2+(3a)], [(-a+7)*x2y4+y3z3,18*y3z2];
42tst_test_nfmodsyz(M);
43kill r;
44     
45ring r=(0,a),(x,y,z,w,u),(c,dp);
46minpoly = a^3+a+5;
47module M = (5+a)*x^3*y^2*z + (a+3)*y^3*x^2*z + (a+7)*x*y^2*z^2,
48        (a+3)*x*y^2*z^2 + (a+1)*x^5 + (a-11)*y^2*z^2,
49        (a+2)*x*y*z + (a+7)*x^3 + 12*y^3 + 1,3*x^3 +(a- 4)*y^3 + y*z^2;
50tst_test_nfmodsyz(M);
51kill r;
52
53ring r=(0,a),(x,y,z,w,u),(c,dp);
54minpoly = a^2+1;
55module M = x+(a/2147483647)*x*y+(a/2147483646)*y*z,
56          x^2*z + (a/2147483647)*y^3 + (a+1)*y*z^2,
57          (2*a*x)/3-(7*a*y)/23 + (9*z)/7;
58tst_test_nfmodsyz(M);
59kill r;
60tst_status(1);$
Note: See TracBrowser for help on using the repository browser.