fieker-DuValspielwiese
Last change
on this file since 85bcd6 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:
393 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "multigrading.lib"; |
---|
3 | intmat M[2][5] = |
---|
4 | 1, 2, 3, 4, 0, |
---|
5 | 0,10,20,30, 1; |
---|
6 | // Hermite Normal Form of M: |
---|
7 | print(hermiteNormalForm(M)); |
---|
8 | intmat T[3][4] = |
---|
9 | 3,3,3,3, |
---|
10 | 2,1,3,0, |
---|
11 | 1,2,0,3; |
---|
12 | // Hermite Normal Form of T: |
---|
13 | print(hermiteNormalForm(T)); |
---|
14 | intmat A[4][5] = |
---|
15 | 1,2,3,2,2, |
---|
16 | 1,2,3,4,0, |
---|
17 | 0,5,4,2,1, |
---|
18 | 3,2,4,0,2; |
---|
19 | // Hermite Normal Form of A: |
---|
20 | print(hermiteNormalForm(A)); |
---|
21 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.