source: git/Tst/Plural/doc-reduce.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: 353 bytes
Line 
1LIB "tst.lib";
2tst_init();
3ring r=(0,a),(e,f,h),Dp;
4matrix d[3][3];
5d[1,2]=-h;
6d[1,3]=2e;
7d[2,3]=-2f;
8system("PLURAL",1,d);
9// it is parametric U(sl_2)
10ideal I=e2,f2,h2-1;
11I=std(I);
12ideal J=e,h-a;
13J=std(J);
14poly z=4*e*f+h^2-2*h;
15// z is the central element
16// the central character of I:
17NF(z,I);
18// the central character of J:
19NF(z,J);
20tst_status(1);$
Note: See TracBrowser for help on using the repository browser.