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