source: git/Tst/Old/subexpr.tst @ 882ae9c

spielwiese
Last change on this file since 882ae9c 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: 471 bytes
Line 
1pagelength = 1000;
2ring r= 32003,(x,y,z),lp;
3ideal i = x,y,z,x2z,yxz;
4i;
5i[2..3] = 3,4;                         // overwrite elems 2 .. 3
6i;
7matrix m[2][2] = i;                    // four elems from i
8m;
9m[1..2,1] = 1,2;                       // overwrite m[1,1], m[2,1]
10m;
11matrix mm[5][5];
12mm[2..4,2..4] = 1,1,1,1,1,1,1,1,1;     // obvious ?
13LIB "lib";                             // make formmat available
14formmat(mm);
15kill r;
16memory(0);
17LIB "tst.lib";tst_status(1);$;
Note: See TracBrowser for help on using the repository browser.