spielwiese
Last change
on this file since 951db29 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:
360 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | ring r=0,(x,y,z),(c,dp); |
---|
3 | matrix D[3][3]; |
---|
4 | D[1,2]=-z; D[1,3]=y; D[2,3]=x; |
---|
5 | def R=nc_algebra(1,D); // this algebra is U(so_3) |
---|
6 | setring R; |
---|
7 | vector s1 = [x2,y3,z]; |
---|
8 | vector s2 = [xy,1,0]; |
---|
9 | vector s3 = [0,x2-y2,z]; |
---|
10 | poly f = -x*y; |
---|
11 | module m = s1, s2-s1,f*(s3-s1); |
---|
12 | m; |
---|
13 | // show m in matrix format (columns generate m) |
---|
14 | print(m); |
---|
15 | |
---|
16 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.