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