source: git/Tst/Manual/modStd.tst @ 2037f2f

spielwiese
Last change on this file since 2037f2f was 2037f2f, checked in by Andreas Steenpass <steenpass@…>, 10 years ago
chg: update tests for new modstd.lib
  • Property mode set to 100644
File size: 429 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "modstd.lib";
3ring R1 = 0, (x,y,z,t), dp;
4ideal I = 3x3+x2+1, 11y5+y3+2, 5z4+z2+4;
5ideal J = modStd(I);
6J;
7I = homog(I, t);
8J = modStd(I);
9J;
10
11ring R2 = 0, (x,y,z), ds;
12ideal I = jacob(x5+y6+z7+xyz);
13ideal J = modStd(I, 0);
14J;
15
16ring R3 = 0, x(1..4), lp;
17ideal I = cyclic(4);
18ideal J1 = modStd(I, 1);   // default
19ideal J2 = modStd(I, 0);
20size(reduce(J1, J2));
21size(reduce(J2, J1));
22tst_status(1);$
Note: See TracBrowser for help on using the repository browser.