fieker-DuValspielwiese
Last change
on this file since 6fb723 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:
621 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "perron.lib"; |
---|
3 | int p = 3; |
---|
4 | ring AA = p,(x,y,z),dp; |
---|
5 | matrix D[3][3]=0; |
---|
6 | D[1,2]=-z; D[1,3]=2*x; D[2,3]=-2*y; |
---|
7 | def A = nc_algebra(1,D); setring A; // this algebra is U(sl_2) |
---|
8 | ideal I = x^p, y^p, z^p-z, 4*x*y+z^2-2*z; // the center |
---|
9 | def RA = perron( I, p ); |
---|
10 | setring RA; |
---|
11 | RA; |
---|
12 | Relations; // it was exported from perron to be in the returned ring. |
---|
13 | // perron can be also used in a commutative case, for example: |
---|
14 | ring B = 0,(x,y,z),dp; |
---|
15 | ideal J = xy+z2, z2+y2, x2y2-2xy3+y4; |
---|
16 | def RB = perron(J); |
---|
17 | setring RB; |
---|
18 | Relations; |
---|
19 | // one more test: |
---|
20 | setring A; |
---|
21 | map T=RA,I; |
---|
22 | T(Relations); // should be zero |
---|
23 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.