spielwiese
Last change
on this file since 882ae9c 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:
388 bytes
|
Line | |
---|
1 | intvec iv=1,3,5,7,8; |
---|
2 | iv=iv,iv; // concatenation |
---|
3 | iv+1; // add 1 to each entry |
---|
4 | iv*2; |
---|
5 | iv; |
---|
6 | iv-10; |
---|
7 | iv=iv,0; |
---|
8 | iv; |
---|
9 | iv/2; |
---|
10 | iv+iv; // componentwise addition |
---|
11 | iv[size(iv)-1]; // last-1 entry |
---|
12 | intvec iw=2,3,4,0; |
---|
13 | iv==iw; // comparision |
---|
14 | intmat im[2][4]; |
---|
15 | im=2,3,4,0,1,0,0,0; |
---|
16 | iv=im*iw; |
---|
17 | iv; |
---|
18 | LIB "tst.lib";tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.