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:
358 bytes
|
Line | |
---|
1 | LIB "tst.lib"; |
---|
2 | tst_init(); |
---|
3 | ring r=0,(x,y,z),dp; |
---|
4 | system ("PLURAL",-1,0); |
---|
5 | ideal m = maxideal(1); |
---|
6 | m; |
---|
7 | poly f = x2; |
---|
8 | poly g = y3; |
---|
9 | ideal i = x*y*z , f-g, g*(x-y) + f^4 ,0, 2x-z2y; |
---|
10 | ideal M = i + maxideal(10); |
---|
11 | timer =0; |
---|
12 | i = M*M; |
---|
13 | timer; |
---|
14 | ncols(i); |
---|
15 | timer =0; |
---|
16 | i = M^2; |
---|
17 | ncols(i); |
---|
18 | timer; |
---|
19 | i[ncols(i)]; |
---|
20 | vector v = [x,y-z,x2,y-x,x2yz2-y]; |
---|
21 | ideal j = ideal(v); |
---|
22 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.