source: git/Tst/Manual/center.tst @ 76ce4e6

spielwiese
Last change on this file since 76ce4e6 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: 442 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "central.lib";
3ring AA = 0,(x,y,z,t),dp;
4matrix D[4][4]=0;
5D[1,2]=-z;  D[1,3]=2*x;  D[2,3]=-2*y;
6def A = nc_algebra(1,D); setring A; // this algebra is U(sl_2) tensored with K[t]
7// find generators of the center of degree <= 3:
8ideal Z = center(3);
9Z;
10inCenter(Z); // check the result
11// find at least one generator of the center:
12ideal ZZ = center(-1, 1);
13ZZ;
14inCenter(ZZ); // check the result
15tst_status(1);$
Note: See TracBrowser for help on using the repository browser.