source: git/Tst/Manual/intRank.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: 284 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "multigrading.lib";
3intmat A[3][4] =
41,0,1,0,
51,2,0,0,
60,0,0,0;
7int r = intRank(A);
8print(A);
9print(r); // Should be 2
10// another example
11intmat B[2][2] =
121,2,
131,2;
14int d = intRank(B);
15print(B);
16print(d); // Should be 1
17kill A, B, r, d;
18tst_status(1);$
Note: See TracBrowser for help on using the repository browser.