source: git/Tst/Plural/doc-reduce.tst @ e0b657

spielwiese
Last change on this file since e0b657 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: 365 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;
8def S=nc_algebra(1,d); setring S;
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.