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 | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "ncdecomp.lib"; |
---|
3 | ring R=(0,a),(e,f,h),Dp; |
---|
4 | matrix @d[3][3]; |
---|
5 | @d[1,2]=-h; @d[1,3]=2e; @d[2,3]=-2f; |
---|
6 | def r = nc_algebra(1,@d); setring r; // parametric U(sl_2) |
---|
7 | ideal I = e,h-a; |
---|
8 | ideal C; |
---|
9 | C[1] = h^2-2*h+4*e*f; // the center of U(sl_2) |
---|
10 | ideal X = IntersectWithSub(I,C); |
---|
11 | X; |
---|
12 | ideal G = e*f, h; // the biggest comm. subalgebra of U(sl_2) |
---|
13 | ideal Y = IntersectWithSub(I,G); |
---|
14 | Y; |
---|
15 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.