spielwiese
Last change
on this file since fdda546 was
45102a,
checked in by Hans Schoenemann <hannes@…>, 8 years ago
|
add: new tests for ncfactor.lib
|
-
Property mode set to
100644
|
File size:
299 bytes
|
Line | |
---|
1 | LIB "tst.lib"; |
---|
2 | tst_init(); |
---|
3 | tst_ignore("CVS ID $Id$"); |
---|
4 | LIB "ncfactor.lib"; |
---|
5 | |
---|
6 | ring r = 0,(x,y,z),dp; |
---|
7 | matrix D[3][3]; D[1,3]=-1; |
---|
8 | def R = nc_algebra(1,D); // x,z generate Weyl subalgebra |
---|
9 | setring R; |
---|
10 | poly h = (x^2*z^2+x)*x; |
---|
11 | list lsng = ncfactor(h); |
---|
12 | lsng; |
---|
13 | testNCfac(lsng, h); |
---|
14 | |
---|
15 | tst_status(); |
---|
16 | tst_status(1); $ |
---|
Note: See
TracBrowser
for help on using the repository browser.