source: git/Tst/Plural/doc-ideal-ops.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: 345 bytes
Line 
1LIB "tst.lib";
2tst_init();
3ring r=0,(x,y,z),dp;
4matrix D[3][3];
5D[1,2]=-z;
6D[1,3]=y;
7D[2,3]=x;
8system("PLURAL",1,D);
9ideal I = 0,x,0,1;
10I;
11I + 0;    // simplification
12ideal J = I,0,x,x-z;
13J;
14I * J;   //  multiplication with simplification
15I*x;
16vector V = [x,y,z];
17print(V*I);
18ideal m = maxideal(1);
19m^2;
20ideal II = I[2..4];
21II;
22tst_status(1);$
Note: See TracBrowser for help on using the repository browser.