source: git/Tst/Plural/doc-module-decl.tst @ 2ddc345

spielwiese
Last change on this file since 2ddc345 was a6e7454, checked in by Viktor Levandovskyy <levandov@…>, 21 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: 335 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;
8system("PLURAL",1,D);
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.