source: git/Tst/Old/weight.tst @ 85e6342

spielwiese
Last change on this file since 85e6342 was 85e6342, checked in by Olaf Bachmann <obachman@…>, 23 years ago
* slightly changed tests git-svn-id: file:///usr/local/Singular/svn/trunk@4962 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 810 bytes
Line 
1option(prot);
2ring h1=32003,(t,x,y,z),dp;
3ideal i=
49x8+y7t3z4+5x4y2t2+2xy2z3t2,
59y8+7xy6t+2x5y4t2+2x2yz3t2,
69z8+3x2y3z2t4;
7intvec E=weight(i);
8E;
9ring r1 = 32003,(a,b,c,d,e,f),dp;
10ideal i0 =
11a+b+c+d+e+f,
12ab+bc+cd+de+ef+fa,
13abc+bcd+cde+d*ef+efa+fab,
14abcd+bcde+cdef+defa+efab+fabc,
15abcde+bcdef+cdefa+defab+efabc+fabcd,
16abcdef+1;
17ring rm=32003,(g,h,l,m,n,o),dp;
18map f=r1,g,h,l3,m+n2,n,o2;
19ideal i=interred(f(i0));
20i;
21test(22);
22intvec e=weight(i);
23e;
24test(-22);
25ring sp= 32003,(t,x,y,z),dp;
26ideal i=t18x2-t19z-t18z2,t26xy-t27z-t25z3,t38y2-t37xy;
27intvec e=weight(i);
28e;
29test(22);
30test(9);
31ring al1=32003,(x,t,y,z),ds;
32option(weightM);
33ideal i=
349x8+y7t3z4+5x4y2t2+2xy2z3t2,
359y8+7xy6t+2x5y4t2+2x2yz3t2,
369z8+3x2y3z2t4;
37ideal k=interred(i^2);
38k;
39degBound=1;
40ideal j=std(k);
41j;
42kill al1;
43LIB "tst.lib";tst_status(1);$
Note: See TracBrowser for help on using the repository browser.