spielwiese
Last change
on this file since c2f6bd was
894057,
checked in by Oleksandr Motsak <motsak@…>, 13 years ago
|
ADD: Tests from online manual (res+stat on mamawutz): short ones Tst/Manual/s.lst
|
-
Property mode set to
100644
|
File size:
407 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "matrix.lib"; |
---|
3 | ring r=(0,a,b),(A,B,C),dp; |
---|
4 | matrix m[8][6]= |
---|
5 | 0, 2*C, 0, 0, 0, 0, |
---|
6 | 0, -4*C,a*A, 0, 0, 0, |
---|
7 | b*B, -A, 0, 0, 0, 0, |
---|
8 | -A, B, 0, 0, 0, 0, |
---|
9 | -4*C, 0, B, 2, 0, 0, |
---|
10 | 2*A, B, 0, 0, 0, 0, |
---|
11 | 0, 3*B, 0, 0, 2b, 0, |
---|
12 | 0, AB, 0, 2*A,A, 2a;""; |
---|
13 | print(colred(m));""; |
---|
14 | list L=colred(m,1); |
---|
15 | print(L[1]); |
---|
16 | print(L[2]); |
---|
17 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.