source: git/Tst/Old/subexpr.tst @ ab33572

fieker-DuValspielwiese
Last change on this file since ab33572 was 97d5bb, checked in by Olaf Bachmann <obachman@…>, 24 years ago
* cleaned up tst stuff git-svn-id: file:///usr/local/Singular/svn/trunk@3893 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 460 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;
16LIB "tst.lib";tst_status(1);$;
Note: See TracBrowser for help on using the repository browser.