source: git/Tst/Manual/IntersectWithSub.tst @ a1ef3a2

fieker-DuValspielwiese
Last change on this file since a1ef3a2 was 894057, checked in by Oleksandr Motsak <motsak@…>, 13 years ago
ADD: Tests from online manual (res+stat on mamawutz): short ones Tst/Manual/s.lst
  • Property mode set to 100644
File size: 411 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "ncdecomp.lib";
3ring R=(0,a),(e,f,h),Dp;
4matrix @d[3][3];
5@d[1,2]=-h;   @d[1,3]=2e;   @d[2,3]=-2f;
6def r = nc_algebra(1,@d); setring r; // parametric U(sl_2)
7ideal I = e,h-a;
8ideal C;
9C[1] = h^2-2*h+4*e*f; // the center of U(sl_2)
10ideal X = IntersectWithSub(I,C);
11X;
12ideal G = e*f, h; // the biggest comm. subalgebra of U(sl_2)
13ideal Y = IntersectWithSub(I,G);
14Y;
15tst_status(1);$
Note: See TracBrowser for help on using the repository browser.