source: git/Tst/Manual/ideal_operations_BR_PLURAL_BR.tst @ e74bb4

fieker-DuValspielwiese
Last change on this file since e74bb4 was 894057, checked in by Oleksandr Motsak <motsak@…>, 13 years ago
ADD: Tests from online manual (res+stat on mamawutz): short ones Tst/Manual/s.lst
  • Property mode set to 100644
File size: 382 bytes
Line 
1LIB "tst.lib"; tst_init();
2ring r=0,(x,y,z),dp;
3matrix D[3][3];
4D[1,2]=-z;  D[1,3]=y;  D[2,3]=x;
5def R=nc_algebra(1,D); // this algebra is U(so_3)
6setring R;
7ideal I = 0,x,0,1;
8I;
9I + 0;    // simplification
10I*x;
11ideal J = I,0,x,x-z;
12I * J;   //  multiplication with simplification
13vector V = [x,y,z];
14print(I*V);
15ideal m = maxideal(1);
16m^2;
17ideal II = I[2..4];
18II;
19tst_status(1);$
Note: See TracBrowser for help on using the repository browser.