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