spielwiese
Last change
on this file since a6e7454 was
a6e7454,
checked in by Viktor Levandovskyy <levandov@…>, 21 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:
377 bytes
|
Line | |
---|
1 | LIB "tst.lib"; |
---|
2 | tst_init(); |
---|
3 | ring r=0,(x,y),dp; |
---|
4 | poly f = 10x2y3 +2x2y2-2xy+y -x+2; |
---|
5 | lead(f); |
---|
6 | leadmonom(f); |
---|
7 | simplify(f,1); // normalize leading coefficient |
---|
8 | poly g = 1/2x2 + 1/3y; |
---|
9 | cleardenom(g); |
---|
10 | int i = 102; |
---|
11 | poly(i); |
---|
12 | typeof(_); |
---|
13 | kill(r); |
---|
14 | ring r=0,(x,y),dp; |
---|
15 | system("PLURAL",1,1); |
---|
16 | // it is a Weyl algebra |
---|
17 | r; |
---|
18 | yx; // not correct input |
---|
19 | y*x; // correct input |
---|
20 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.