spielwiese
Last change
on this file was
66fa71,
checked in by Hans Schoenemann <hannes@…>, 9 years ago
|
fix: tr. #669 (minAssChar)
|
-
Property mode set to
100644
|
File size:
549 bytes
|
Line | |
---|
1 | LIB "tst.lib"; |
---|
2 | tst_init(); |
---|
3 | |
---|
4 | // minAssChar (tr.667, tr.669) |
---|
5 | LIB"primdec.lib"; |
---|
6 | ring rng = 0,(y,t,o,u,j,x,s,z),dp; |
---|
7 | ideal I = -17*y*j^2*x*z-26*t*s+17*j,24*y^2*t*o^2+12*y,-10*y-7*t*u^2*j*x*z-25*j; |
---|
8 | list L2 = minAssChar(I); |
---|
9 | L2; // size should be 4, not 5 |
---|
10 | minAssChar(L2[2]); // size is 2, should be 1 |
---|
11 | minAssChar(L2[3]); // size is 2, should be 1 |
---|
12 | list L1 = minAssGTZ(I); |
---|
13 | size(L1); |
---|
14 | |
---|
15 | ring r = (7,vv),(z,t,c,i),dp; |
---|
16 | minpoly = (vv^2+vv+3); |
---|
17 | ideal I = |
---|
18 | (3*vv-2)*z*i+(vv-3),(3*vv-2)*c^3+3*c-3,z*t^2+3*t*i+(3*vv)*t-i; |
---|
19 | |
---|
20 | primdecGTZ(I); |
---|
21 | primdecSY(I); |
---|
22 | |
---|
23 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.