source: git/Tst/Manual/colred.tst @ c2f6bd

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 
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;"";
13print(colred(m));"";
14list L=colred(m,1);
15print(L[1]);
16print(L[2]);
17tst_status(1);$
Note: See TracBrowser for help on using the repository browser.