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