source: git/Tst/Manual/gauss_row.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: 430 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "matrix.lib";
3ring r=(0,a,b),(A,B,C),dp;
4matrix m[6][8]=
50, 0,  b*B, -A,-4C,2A,0, 0,
62C,-4C,-A,B, 0,  B, 3B,AB,
70,a*A,  0, 0, B,  0, 0, 0,
80, 0,  0, 0, 2,  0, 0, 2A,
90, 0,  0, 0, 0,  0, 2b, A,
100, 0,  0, 0, 0,  0, 0, 2a;"";
11print(gauss_row(m));"";
12ring S=0,x,dp;
13matrix A[4][5] =  3, 1,1,-1,2,
1413, 8,6,-7,1,
1514,10,6,-7,1,
167, 4,3,-3,3;
17list L=gauss_row(A,1);
18print(L[1]);
19print(L[2]);
20tst_status(1);$
Note: See TracBrowser for help on using the repository browser.