spielwiese
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:
1022 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "involut.lib"; |
---|
3 | def a = makeWeyl(1); |
---|
4 | setring a; // this algebra is a first Weyl algebra |
---|
5 | a; |
---|
6 | def X = findAuto(2); // in contrast to findInvo look for automorphisms |
---|
7 | setring X; // ring with new variables - unknown coefficients |
---|
8 | X; |
---|
9 | size(L); // we have (size(L)) families in the answer |
---|
10 | // look at matrices, defining linear automorphisms: |
---|
11 | print(L[1][2]); // a first one: we see it is the identity |
---|
12 | print(L[2][2]); // and a second possible matrix; it is diagonal |
---|
13 | // L; // we can take a look on the whole list, too |
---|
14 | idJ; |
---|
15 | kill X; kill a; |
---|
16 | //----------- find all the linear automorphisms -------------------- |
---|
17 | //----------- use the call findAuto(0) -------------------- |
---|
18 | ring R = 0,(x,s),dp; |
---|
19 | def r = nc_algebra(1,s); setring r; // the shift algebra |
---|
20 | s*x; // the only relation in the algebra is: |
---|
21 | def Y = findAuto(0); |
---|
22 | setring Y; |
---|
23 | size(L); // here, we have 1 parametrized family |
---|
24 | print(L[1][2]); // here, @p is a nonzero parameter |
---|
25 | det(L[1][2]-@p); // check whether determinante is zero |
---|
26 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.