source: git/Tst/Old/intersec.tst @ e706ff

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//
4ring r1 = 32003,(x,y,z),(c,ds);
5r1;
6"-------------------------------";
7poly s1=x2y3+45x6y3+68x4z5+80y6x8;
8poly s2=6x5+3y6+8z6;
9poly s3=12xyz3+2y3z6;
10ideal i1=s1,s2,s3;
11ideal i2=s1+s2,s2,s1;
12vector v1=[s1,s2,s2*s3]+s1*gen(5);
13vector v2=[s1-s2,s3,s2]+s1*gen(5);
14module m1=v1,v2;
15module m2=v2,2*v1;
16intersect(i1,i2);
17"-------------------------";
18intersect(m1,m2);
19"-------------------------";
20listvar(all);
21kill r1;
22"--------------------------";
23ring r1=0,(x,y,z),(c,ds);
24poly s1=x2y3+45x6y3+68x4z5+80y6x8;
25poly s2=6x5+3y6+8z6;
26poly s3=12xyz3+2y3z6;
27ideal i1=s1,s2,s3;
28ideal i2=s1+s2,s2,s1;
29vector v1=[s1,s2,s2*s3]+s1*gen(5);
30vector v2=[s1-s2,s3,s2]+s1*gen(5);
31module m1=v1,v2;
32module m2=v2,2*v1;
33intersect(i1,i2);
34"-------------------------";
35intersect(m1,m2);
36"-------------------------";
37listvar(all);
38intersect(x,y,z);
39intersect(ideal(x),ideal(y),ideal(z2),ideal(z));
40intersect(x,y,z2,z);
41kill r1;
42LIB "tst.lib";tst_status(1);$;
43//bsp mit char 0
Note: See TracBrowser for help on using the repository browser.