spielwiese
Last change
on this file since c2f6bd 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:
234 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "brnoeth.lib"; |
---|
3 | ring s=2,T,lp; |
---|
4 | // here is the Hamming code of length 7 and dimension 3 |
---|
5 | matrix G[3][7]=1,0,1,0,1,0,1,0,1,1,0,0,1,1,0,0,0,1,1,1,1; |
---|
6 | print(G); |
---|
7 | matrix H=dual_code(G); |
---|
8 | print(H); |
---|
9 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.