source: git/Tst/Manual/module_declarations_BR_PLURAL_BR.tst @ 951db29

spielwiese
Last change on this file since 951db29 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: 360 bytes
Line 
1LIB "tst.lib"; tst_init();
2ring r=0,(x,y,z),(c,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;
7vector s1 = [x2,y3,z];
8vector s2 = [xy,1,0];
9vector s3 = [0,x2-y2,z];
10poly   f  = -x*y;
11module m = s1, s2-s1,f*(s3-s1);
12m;
13// show m in matrix format (columns generate m)
14print(m);
15
16tst_status(1);$
Note: See TracBrowser for help on using the repository browser.