spielwiese
Last change
on this file since e706ff was
37cd955,
checked in by Hans Schoenemann <hannes@…>, 14 years ago
|
pagelength removed
git-svn-id: file:///usr/local/Singular/svn/trunk@13172 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
990 bytes
|
Line | |
---|
1 | // |
---|
2 | // test script for intersect command |
---|
3 | // |
---|
4 | ring r1 = 32003,(x,y,z),(c,ds); |
---|
5 | r1; |
---|
6 | "-------------------------------"; |
---|
7 | poly s1=x2y3+45x6y3+68x4z5+80y6x8; |
---|
8 | poly s2=6x5+3y6+8z6; |
---|
9 | poly s3=12xyz3+2y3z6; |
---|
10 | ideal i1=s1,s2,s3; |
---|
11 | ideal i2=s1+s2,s2,s1; |
---|
12 | vector v1=[s1,s2,s2*s3]+s1*gen(5); |
---|
13 | vector v2=[s1-s2,s3,s2]+s1*gen(5); |
---|
14 | module m1=v1,v2; |
---|
15 | module m2=v2,2*v1; |
---|
16 | intersect(i1,i2); |
---|
17 | "-------------------------"; |
---|
18 | intersect(m1,m2); |
---|
19 | "-------------------------"; |
---|
20 | listvar(all); |
---|
21 | kill r1; |
---|
22 | "--------------------------"; |
---|
23 | ring r1=0,(x,y,z),(c,ds); |
---|
24 | poly s1=x2y3+45x6y3+68x4z5+80y6x8; |
---|
25 | poly s2=6x5+3y6+8z6; |
---|
26 | poly s3=12xyz3+2y3z6; |
---|
27 | ideal i1=s1,s2,s3; |
---|
28 | ideal i2=s1+s2,s2,s1; |
---|
29 | vector v1=[s1,s2,s2*s3]+s1*gen(5); |
---|
30 | vector v2=[s1-s2,s3,s2]+s1*gen(5); |
---|
31 | module m1=v1,v2; |
---|
32 | module m2=v2,2*v1; |
---|
33 | intersect(i1,i2); |
---|
34 | "-------------------------"; |
---|
35 | intersect(m1,m2); |
---|
36 | "-------------------------"; |
---|
37 | listvar(all); |
---|
38 | intersect(x,y,z); |
---|
39 | intersect(ideal(x),ideal(y),ideal(z2),ideal(z)); |
---|
40 | intersect(x,y,z2,z); |
---|
41 | kill r1; |
---|
42 | LIB "tst.lib";tst_status(1);$; |
---|
43 | //bsp mit char 0 |
---|
Note: See
TracBrowser
for help on using the repository browser.