source: git/Tst/Manual/inverse.tst @ 6fb723

spielwiese
Last change on this file since 6fb723 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: 253 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "linalg.lib";
3ring r=0,(x,y,z),lp;
4matrix A[3][3]=
51,4,3,
61,5,7,
70,4,17;
8print(inverse(A));"";
9matrix B[3][3]=
10y+1,  x+y,    y,
11z,    z+1,    z,
12y+z+2,x+y+z+2,y+z+1;
13print(inverse(B));
14print(B*inverse(B));
15tst_status(1);$
Note: See TracBrowser for help on using the repository browser.