source: git/Tst/Old/subexpr.tst @ 4401c6

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