spielwiese
Last change
on this file since 951db29 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:
508 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 | list L=gauss_col(m,1); |
---|
14 | print(L[1]); |
---|
15 | print(L[2]); |
---|
16 | ring S=0,x,(c,dp); |
---|
17 | matrix A[5][4] = |
---|
18 | 3, 1, 1, 1, |
---|
19 | 13, 8, 6,-7, |
---|
20 | 14,10, 6,-7, |
---|
21 | 7, 4, 3,-3, |
---|
22 | 2, 1, 0, 3; |
---|
23 | print(gauss_col(A)); |
---|
24 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.