spielwiese
Last change
on this file since 46976a6 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:
608 bytes
|
Line | |
---|
1 | // |
---|
2 | // test script for matrix command |
---|
3 | // |
---|
4 | pagelength = 10000; |
---|
5 | ring r1 = 0,(x,y,z),ds; |
---|
6 | r1; |
---|
7 | LIB "lib0"; |
---|
8 | "------------------------------"; |
---|
9 | poly s1=12x2y4; |
---|
10 | poly s2=3*x^2*y^3+x^3; |
---|
11 | poly s4=7/9x3z7; |
---|
12 | poly s5=12; |
---|
13 | poly s6; |
---|
14 | matrix m1[2][2]=1,2,3,4; |
---|
15 | pmat(m1); |
---|
16 | "-----------------------------"; |
---|
17 | matrix m2[2][3]=x2,y3,z2,zx,4xy,yz; |
---|
18 | pmat(m2); |
---|
19 | "-------------------------------"; |
---|
20 | matrix m3[3][2]=s1,s2,s4,s5,s6,x2; |
---|
21 | pmat(m3); |
---|
22 | "--------------------------------"; |
---|
23 | matrix m4; |
---|
24 | pmat(m4); |
---|
25 | "--------------------------------"; |
---|
26 | matrix m5=m3; |
---|
27 | pmat(m5); |
---|
28 | "----------------------------"; |
---|
29 | listvar(all); |
---|
30 | kill r1; |
---|
31 | LIB "tst.lib";tst_status(1);$; |
---|
Note: See
TracBrowser
for help on using the repository browser.