source: git/Tst/Old/vec.tst @ b35b93

spielwiese
Last change on this file since b35b93 was b35b93, checked in by Olaf Bachmann <obachman@…>, 26 years ago
This commit was generated by cvs2svn to compensate for changes in r1396, which included commits to RCS files with non-trunk default branches. git-svn-id: file:///usr/local/Singular/svn/trunk@1397 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 494 bytes
Line 
1//
2// test script for vector command
3//
4pagelength = 10000;
5ring r1 = 0,(x,y,z),ds;
6r1;
7"------------------------------";
8poly s1=12x2y4+34xyz5-78x2y4z2;
9poly s2=3*x^2*y^3+6*x^3*y^2*z^4;
10int i=2;
11int j=6;
12int k=45;
13poly s3=i*x^k*y^j+k*x^(i+j)*z^k;
14poly s4=7/9x3z7;
15poly s5=12;
16poly s6;
17vector v=[s1,s3-s2,s4-s1]+s5*gen(5);
18v;
19"------------------------------";
20vector v1=[x2,y2];
21v1;
22"----------------------------";
23vector v2=[1,0];
24v2;
25"----------------------------";
26listvar(all);
27kill r1;
28$;
Note: See TracBrowser for help on using the repository browser.