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

spielwiese
Last change on this file since a6e7454 was a6e7454, checked in by Viktor Levandovskyy <levandov@…>, 20 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: 356 bytes
Line 
1LIB "tst.lib";
2tst_init();
3ring Rq=(0,Q),(x,y,z),dp; //U_q(so_3)
4matrix C[3][3];
5matrix D[3][3];
6C[1,2]=Q2;
7C[1,3]=1/Q2;
8C[2,3]=Q2;
9D[1,2]=-Q*z;
10D[1,3]=1/Q*y;
11D[2,3]=-Q*x;
12system("PLURAL",C,D);
13poly Cq=Q^4*x2+y2+Q^4*z2+Q*(1-Q^4)*x*y*z;
14poly C1=x^3+x;
15poly C2=y^3+y;
16poly C3=z^3+z;
17ideal I=Cq,C1,C2,C3;
18I=std(I);
19module a=syz(I);
20print(a);
21tst_status(1);$
Note: See TracBrowser for help on using the repository browser.