source: git/Tst/Manual/multiDegBasis.tst @ 42ea852

spielwiese
Last change on this file since 42ea852 was 42ea852, checked in by Oleksandr Motsak <motsak@…>, 11 years ago
Further incompatibilities with master! chg: Update 14.Jan.2013 (Tests regeneration/update due to master...) TODO: still missing commits from [master] (Interpreter...10912c588c406e6aab9dd2342c3d0c200096cb22 4b8a660ce83e9c109ec9eae1f413ab721fea2fd4)
  • Property mode set to 100644
File size: 1.2 KB
Line 
1LIB "tst.lib"; tst_init(); /* tst_ignore("4ti2"); */
2LIB "multigrading.lib";
3ring R = 0, (x, y), dp;
4intmat g1[2][2]=1,0,0,1;
5intmat l[2][1]=2,0;
6intmat g2[2][2]=1,1,1,1;
7intvec v1=4,0;
8intvec v2=4,4;
9intmat g3[1][2]=1,1;
10setBaseMultigrading(g3);
11intvec v3=4:1;
12v3;
13multiDegBasis(v3);
14setBaseMultigrading(g1,l);
15multiDegBasis(v1);
16setBaseMultigrading(g2);
17multiDegBasis(v2);
18intmat M[2][2] = 1, -1, -1, 1;
19intvec d = -2, 2;
20setBaseMultigrading(M);
21multiDegBasis(d);
22attrib(_, "ZeroPart");
23kill R, M, d;
24ring R = 0, (x, y, z), dp;
25intmat M[2][3] = 1, -2, 1,     1, 1, 0;
26intmat L[2][1] = 0, 2;
27intvec d = 4, 1;
28setBaseMultigrading(M, L);
29multiDegBasis(d);
30attrib(_, "ZeroPart");
31kill R, M, d;
32ring R = 0, (x, y, z), dp;
33qring Q = std(ideal( y^6+ x*y^3*z-x^2*z^2 ));
34intmat M[2][3] = 1, 1, 2,     2, 1, 1;
35//  intmat T[2][1] = 0, 2;
36setBaseMultigrading(M); // BUG????
37intvec d = 6, 6;
38multiDegBasis(d);
39attrib(_, "ZeroPart");
40kill R, Q, M, d;
41ring R = 0, (x, y, z), dp;
42qring Q = std(ideal( x*z^3 - y *z^6, x*y*z  - x^4*y^2 ));
43intmat M[2][3] = 1, -2, 1,     1, 1, 0;
44intmat T[2][1] = 0, 2;
45intvec d = 4, 1;
46setBaseMultigrading(M, T); // BUG????
47multiDegBasis(d);
48attrib(_, "ZeroPart");
49tst_status(1);$
Note: See TracBrowser for help on using the repository browser.