spielwiese
Last change
on this file 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:
459 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "central.lib"; |
---|
3 | ring AA = 0,(x,y,z),dp; |
---|
4 | matrix D[3][3]=0; |
---|
5 | D[1,2]=-z; D[1,3]=2*x; D[2,3]=-2*y; |
---|
6 | def A = nc_algebra(1,D); setring A; // this algebra is U(sl_2) |
---|
7 | // find a basis of the vector space of all |
---|
8 | // central elements of degree <= 4: |
---|
9 | ideal Z = centerVS(4); |
---|
10 | Z; |
---|
11 | // note that the second element is the square of the first |
---|
12 | // plus a multiple of the first: |
---|
13 | Z[2] - Z[1]^2 + 8*Z[1]; |
---|
14 | inCenter(Z); // check the result |
---|
15 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.