source: git/Tst/Old/modu.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: 533 bytes
Line 
1//
2// test script for module command
3//
4ring r1 = 0,(x,y,z),ds;
5r1;
6"------------------------------";
7poly s1=12x2y4+34xyz5-78x2y4z2;
8poly s2=3*x^2*y^3+6*x^3*y^2*z^4;
9int i=2;
10int j=6;
11int k=45;
12poly s3=i*x^k*y^j+k*x^(i+j)*z^k;
13poly s4=7/9x3z7;
14poly s5=12;
15poly s6;
16vector v=[s1,s3-s2,s4-s1]+s5*gen(5);
17vector v1=[x2,y2];
18vector v2=[1,0];
19module m1=v1,v2-v1,s5*(v2-v1);
20m1;
21"------------------------------";
22module m2=[x2,0],[0,y2],[0,z6];
23m2;
24"-------------------------------";
25listvar(all);
26kill r1;
27LIB "tst.lib";tst_status(1);$;
Note: See TracBrowser for help on using the repository browser.