fieker-DuValspielwiese
Last change
on this file since 73248d was
45102a,
checked in by Hans Schoenemann <hannes@…>, 8 years ago
|
add: new tests for ncfactor.lib
|
-
Property mode set to
100644
|
File size:
652 bytes
|
Line | |
---|
1 | LIB "tst.lib"; |
---|
2 | tst_init(); |
---|
3 | tst_ignore("CVS ID $Id$"); |
---|
4 | LIB "ncfactor.lib"; |
---|
5 | ring R = 0,(x1,d1,x2,d2,x3,d3),dp; |
---|
6 | matrix C[6][6] = 1,1,1,1,1,1, |
---|
7 | 1,1,1,1,1,1, |
---|
8 | 1,1,1,1,1,1, |
---|
9 | 1,1,1,1,1,1, |
---|
10 | 1,1,1,1,1,1, |
---|
11 | 1,1,1,1,1,1; |
---|
12 | matrix D[6][6] = 0, 1, 0,0,0,0, |
---|
13 | -1, 0, 0,0,0,0, |
---|
14 | 0, 0, 0,1,0,0, |
---|
15 | 0, 0,-1,0,0,0, |
---|
16 | 0,0, 0,0,0,1, |
---|
17 | 0, 0,0,0,-1,0; |
---|
18 | def r = nc_algebra(C,D); |
---|
19 | setring(r); |
---|
20 | poly h =x1*x2^2*x3^3*d1*d2^2+x2*x3^3*d2; |
---|
21 | list lsng = facWeyl(h); |
---|
22 | print(lsng); |
---|
23 | testNCfac(lsng, h); |
---|
24 | |
---|
25 | tst_status(); |
---|
26 | tst_status(1); $ |
---|
Note: See
TracBrowser
for help on using the repository browser.