fieker-DuValspielwiese
Last change
on this file since 159ca3 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:
433 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | // consider the quantized Weyl algebra |
---|
3 | ring r = (0,q),(x,d),Dp; |
---|
4 | def RS=nc_algebra(q,1); |
---|
5 | setring RS; RS; |
---|
6 | list l = ringlist(RS); |
---|
7 | l; |
---|
8 | // now, change the relation d*x = q*x*d +1 |
---|
9 | // into the relation d*x=(q2+1)*x*d + q*d + 1 |
---|
10 | matrix S = l[5]; // matrix of coefficients |
---|
11 | S[1,2] = q^2+1; |
---|
12 | l[5] = S; |
---|
13 | matrix T = l[6]; // matrix of polynomials |
---|
14 | T[1,2] = q*d+1; |
---|
15 | l[6] = T; |
---|
16 | def rr = ring(l); |
---|
17 | setring rr; rr; |
---|
18 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.