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:
353 bytes
|
Line | |
---|
1 | LIB "tst.lib"; |
---|
2 | tst_init(); |
---|
3 | ring r=(0,a),(e,f,h),Dp; |
---|
4 | matrix d[3][3]; |
---|
5 | d[1,2]=-h; |
---|
6 | d[1,3]=2e; |
---|
7 | d[2,3]=-2f; |
---|
8 | system("PLURAL",1,d); |
---|
9 | // it is parametric U(sl_2) |
---|
10 | ideal I=e2,f2,h2-1; |
---|
11 | I=std(I); |
---|
12 | ideal J=e,h-a; |
---|
13 | J=std(J); |
---|
14 | poly z=4*e*f+h^2-2*h; |
---|
15 | // z is the central element |
---|
16 | // the central character of I: |
---|
17 | NF(z,I); |
---|
18 | // the central character of J: |
---|
19 | NF(z,J); |
---|
20 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.