source: git/Tst/Manual/smithNormalForm.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: 302 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "multigrading.lib";
3intmat A[5][7] =
41,0,1,0,-2,9,-71,
50,-24,248,-32,-96,448,-3496,
60,4,-42,4,-8,30,-260,
70,0,0,18,-90,408,-3168,
80,0,0,-32,224,-1008,7872;
9print( smithNormalForm(A) );
10list l = smithNormalForm(A, 5);
11l;
12l[1]*A*l[3];
13det(l[1]);
14det(l[3]);
15tst_status(1);$
Note: See TracBrowser for help on using the repository browser.