source: git/Tst/Short/ncfactor_nthweylringalt2_s.tst @ 73248d

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 
1LIB "tst.lib";
2tst_init();
3tst_ignore("CVS ID $Id$");
4LIB "ncfactor.lib";
5ring R = 0,(x1,d1,x2,d2,x3,d3),dp;
6matrix 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;
12matrix 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;
18def r = nc_algebra(C,D);
19setring(r);
20poly h =x1*x2^2*x3^3*d1*d2^2+x2*x3^3*d2;
21list lsng = facWeyl(h);
22print(lsng);
23testNCfac(lsng, h);
24
25tst_status();
26tst_status(1); $
Note: See TracBrowser for help on using the repository browser.