source: git/Tst/Old/matr.tst @ 3a8c5fe

fieker-DuValspielwiese
Last change on this file since 3a8c5fe 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: 588 bytes
Line 
1//
2// test script for matrix command
3//
4ring r1 = 0,(x,y,z),ds;
5r1;
6LIB "lib0";
7"------------------------------";
8poly s1=12x2y4;
9poly s2=3*x^2*y^3+x^3;
10poly s4=7/9x3z7;
11poly s5=12;
12poly s6;
13matrix m1[2][2]=1,2,3,4;
14pmat(m1);
15"-----------------------------";
16matrix m2[2][3]=x2,y3,z2,zx,4xy,yz;
17pmat(m2);
18"-------------------------------";
19matrix m3[3][2]=s1,s2,s4,s5,s6,x2;
20pmat(m3);
21"--------------------------------";
22matrix m4;
23pmat(m4);
24"--------------------------------";
25matrix m5=m3;
26pmat(m5);
27"----------------------------";
28listvar(all);
29kill r1;
30LIB "tst.lib";tst_status(1);$;
Note: See TracBrowser for help on using the repository browser.