spielwiese
Last change
on this file since a6e7454 was
a6e7454,
checked in by Viktor Levandovskyy <levandov@…>, 20 years ago
|
nontrivial examples from Plural doc
git-svn-id: file:///usr/local/Singular/svn/trunk@6653 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
335 bytes
|
Line | |
---|
1 | LIB "tst.lib"; |
---|
2 | tst_init(); |
---|
3 | ring r=0,(x,y,z),(c,dp); |
---|
4 | matrix D[3][3]; |
---|
5 | D[1,2]=-z; |
---|
6 | D[1,3]=y; |
---|
7 | D[2,3]=x; |
---|
8 | system("PLURAL",1,D); |
---|
9 | // it is U(so_3) |
---|
10 | vector s1 = [x2,y3,z]; |
---|
11 | vector s2 = [xy,1,0]; |
---|
12 | vector s3 = [0,x2-y2,z]; |
---|
13 | poly f = xyz; |
---|
14 | module m = s1, s2-s1,f*(s3-s1); |
---|
15 | m; |
---|
16 | // show m in matrix format (columns generate m) |
---|
17 | print(m); |
---|
18 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.