source: git/Tst/Plural/doc-ideal-expr.tst @ a6e7454

spielwiese
Last change on this file since a6e7454 was a6e7454, checked in by Viktor Levandovskyy <levandov@…>, 20 years ago
nontrivial examples from Plural doc git-svn-id: file:///usr/local/Singular/svn/trunk@6653 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 358 bytes
Line 
1LIB "tst.lib";
2tst_init();
3ring r=0,(x,y,z),dp;
4system ("PLURAL",-1,0);
5ideal m = maxideal(1);
6m;
7poly f = x2;
8poly g = y3;
9ideal i = x*y*z , f-g, g*(x-y) + f^4 ,0, 2x-z2y;
10ideal M = i + maxideal(10);
11timer =0;
12i = M*M;
13timer;
14ncols(i);
15timer =0;
16i = M^2;
17ncols(i);
18timer;
19i[ncols(i)];
20vector v = [x,y-z,x2,y-x,x2yz2-y];
21ideal j = ideal(v);
22tst_status(1);$
Note: See TracBrowser for help on using the repository browser.