source: git/Tst/Manual/inCenter.tst @ e74bb4

fieker-DuValspielwiese
Last change on this file since e74bb4 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: 326 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "central.lib";
3ring R=0,(x,y,z),dp;
4matrix D[3][3]=0;
5D[1,2]=-z;
6D[1,3]=2*x;
7D[2,3]=-2*y;
8def r = nc_algebra(1,D); setring r; // this is U(sl_2)
9poly p=4*x*y+z^2-2*z;
10inCenter(p);
11poly f=4*x*y;
12inCenter(f);
13list l= list( 1, p, p^2, p^3);
14inCenter(l);
15ideal I= p, f;
16inCenter(I);
17tst_status(1);$
Note: See TracBrowser for help on using the repository browser.