source: git/Tst/Manual/gauss_col.tst @ 951db29

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 
1LIB "tst.lib"; tst_init();
2LIB "matrix.lib";
3ring r=(0,a,b),(A,B,C),dp;
4matrix m[8][6]=
50,    2*C, 0,    0,  0,   0,
60,    -4*C,a*A,  0,  0,   0,
7b*B,  -A,  0,    0,  0,   0,
8-A,   B,   0,    0,  0,   0,
9-4*C, 0,   B,    2,  0,   0,
102*A,  B,   0,    0,  0,   0,
110,    3*B, 0,    0,  2b,  0,
120,    AB,  0,    2*A,A,   2a;"";
13list L=gauss_col(m,1);
14print(L[1]);
15print(L[2]);
16ring S=0,x,(c,dp);
17matrix A[5][4] =
183, 1, 1, 1,
1913, 8, 6,-7,
2014,10, 6,-7,
217, 4, 3,-3,
222, 1, 0, 3;
23print(gauss_col(A));
24tst_status(1);$
Note: See TracBrowser for help on using the repository browser.