source: git/Tst/Plural/doc-module-decl.tst @ 819c73

fieker-DuValspielwiese
Last change on this file since 819c73 was e0b657, checked in by Hans Schönemann <hannes@…>, 17 years ago
*hannes: ncalgebra -> nc_algebra git-svn-id: file:///usr/local/Singular/svn/trunk@10367 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 346 bytes
Line 
1LIB "tst.lib";
2tst_init();
3ring r=0,(x,y,z),(c,dp);
4matrix D[3][3];
5D[1,2]=-z;
6D[1,3]=y;
7D[2,3]=x;
8def S=nc_algebra(1,D); setring S;
9// it is U(so_3)
10vector s1 = [x2,y3,z];
11vector s2 = [xy,1,0];
12vector s3 = [0,x2-y2,z];
13poly   f  = xyz;
14module m = s1, s2-s1,f*(s3-s1);
15m;
16// show m in matrix format (columns generate m)
17print(m);
18tst_status(1);$
Note: See TracBrowser for help on using the repository browser.