spielwiese
Last change
on this file since b35b93 was
b35b93,
checked in by Olaf Bachmann <obachman@…>, 26 years ago
|
This commit was generated by cvs2svn to compensate for changes in r1396,
which included commits to RCS files with non-trunk default branches.
git-svn-id: file:///usr/local/Singular/svn/trunk@1397 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
323 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 | $ |
---|
Note: See
TracBrowser
for help on using the repository browser.