source: git/Tst/Manual/intInverse.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: 307 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "multigrading.lib";
3intmat A[3][3] =
41,1,3,
53,2,0,
60,0,1;
7intmat B = intInverse(A);
8// should be the unit matrix
9print(A * B);
10// another example
11intmat C[2][2] =
122,1,
133,2;
14intmat D  = intInverse(C);
15// should be the unit matrix
16print(C * D);
17kill A, B, C, D;
18tst_status(1);$
Note: See TracBrowser for help on using the repository browser.