spielwiese
Last change
on this file since 85d15b1 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:
351 bytes
|
Line | |
---|
1 | intmat m[2][3]=1,0,2,4,5,1; |
---|
2 | m+1; // adds unit intmat to m |
---|
3 | m[2,1]; // entry at 2,1 |
---|
4 | intmat m1[3][2]=1,0,2,4,0,1; |
---|
5 | m1*10; // multiply each entry with 10 |
---|
6 | m*m1; |
---|
7 | m+transpose(m1); |
---|
8 | intvec v1=1,2,4; |
---|
9 | intvec v2=5,7,8; |
---|
10 | m=v1,v2; // overwrite M with v1 and v2 |
---|
11 | m; |
---|
12 | trace(m); |
---|
13 | LIB "tst.lib";tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.