source: git/Tst/Manual/ringlist_BR_PLURAL_BR.tst @ 159ca3

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