source: git/Tst/Old/matr.tst @ 46976a6

spielwiese
Last change on this file since 46976a6 was 46976a6, checked in by Olaf Bachmann <obachman@…>, 26 years ago
* added status check to regress.cmd * added tst_status(1); call to each tst file, just before quit git-svn-id: file:///usr/local/Singular/svn/trunk@2271 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 608 bytes
Line 
1//
2// test script for matrix command
3//
4pagelength = 10000;
5ring r1 = 0,(x,y,z),ds;
6r1;
7LIB "lib0";
8"------------------------------";
9poly s1=12x2y4;
10poly s2=3*x^2*y^3+x^3;
11poly s4=7/9x3z7;
12poly s5=12;
13poly s6;
14matrix m1[2][2]=1,2,3,4;
15pmat(m1);
16"-----------------------------";
17matrix m2[2][3]=x2,y3,z2,zx,4xy,yz;
18pmat(m2);
19"-------------------------------";
20matrix m3[3][2]=s1,s2,s4,s5,s6,x2;
21pmat(m3);
22"--------------------------------";
23matrix m4;
24pmat(m4);
25"--------------------------------";
26matrix m5=m3;
27pmat(m5);
28"----------------------------";
29listvar(all);
30kill r1;
31LIB "tst.lib";tst_status(1);$;
Note: See TracBrowser for help on using the repository browser.