spielwiese
Last change
on this file since e706ff 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:
509 bytes
|
Line | |
---|
1 | // |
---|
2 | // test script for cols command |
---|
3 | // |
---|
4 | ring r = 32003,(x,y,z),dp; |
---|
5 | r; |
---|
6 | matrix m1[3][3]; |
---|
7 | int c1; |
---|
8 | c1=ncols(m1); |
---|
9 | c1; |
---|
10 | "------------------------------------"; |
---|
11 | matrix m2[2][4]; |
---|
12 | int c2; |
---|
13 | c2=ncols(m2); |
---|
14 | c2; |
---|
15 | "------------------------------------"; |
---|
16 | matrix m3[1][1]; |
---|
17 | int c3; |
---|
18 | c3=ncols(m3); |
---|
19 | c3; |
---|
20 | "-------------------------------------"; |
---|
21 | int n=6; |
---|
22 | matrix m4[1][n]; |
---|
23 | int c4; |
---|
24 | c4=ncols(m4); |
---|
25 | c4; |
---|
26 | "-------------------------------------"; |
---|
27 | matrix m5[100][1]; |
---|
28 | int c5; |
---|
29 | c5=ncols(m5); |
---|
30 | c5; |
---|
31 | listvar(all); |
---|
32 | kill r; |
---|
33 | LIB "tst.lib";tst_status(1);$; |
---|
Note: See
TracBrowser
for help on using the repository browser.