source: git/Tst/Plural/doc-std.tst @ a6e7454

spielwiese
Last change on this file since a6e7454 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: 479 bytes
Line 
1LIB "tst.lib";
2tst_init();
3option(redSB);
4option(redTail);
5ring R=0,(x,y,z),dp;
6matrix d[3][3];
7d[1,2]=-z;
8d[1,3]=y;
9d[2,3]=-x;
10system("PLURAL",1,d); //U(so_3)
11ideal I=x3+4x,y2-z2,z3+z;
12I=std(I);
13I;
14kill R;
15ring Rq3=(0,Q),(x,y,z),dp; //U'_q(so_3)
16minpoly=Q^4+Q^2+1; // at the 3rd root of unity
17matrix C[3][3];
18matrix D[3][3];
19C[1,2]=Q2;
20C[1,3]=1/Q2;
21C[2,3]=Q2;
22D[1,2]=-Q*z;
23D[1,3]=1/Q*y;
24D[2,3]=-Q*x;
25system("PLURAL",C,D);
26ideal J=x3+4x,y2-z2,z3+z;
27J=std(J);
28J;
29tst_status(1);$
Note: See TracBrowser for help on using the repository browser.