source: git/Tst/Manual/facSubWeyl.tst @ 894057

fieker-DuValspielwiese
Last change on this file since 894057 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: 500 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "ncfactor.lib";
3ring r = 0,(x,y,z),dp;
4matrix D[3][3]; D[1,3]=-1;
5def R = nc_algebra(1,D); // x,z generate Weyl subalgebra
6setring R;
7poly h = (x^2*z^2+x)*x;
8list fact1 = facSubWeyl(h,x,z);
9// compare with facFirstWeyl:
10ring s = 0,(z,x),dp;
11def S = nc_algebra(1,1); setring S;
12poly h = (x^2*z^2+x)*x;
13list fact2 = facFirstWeyl(h);
14map F = R,x,0,z;
15list fact1 = F(fact1); // it is identical to list fact2
16testNCfac(fact1); // check the correctness again
17tst_status(1);$
Note: See TracBrowser for help on using the repository browser.