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:
278 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "decodegb.lib"; |
---|
3 | //determine a minimum distance for a [7,3] binary code |
---|
4 | int q=8; int n=7; int redun=4; int t=redun+1; |
---|
5 | ring r=(q,a),x,dp; |
---|
6 | //generate random check matrix |
---|
7 | matrix h=randomCheck(redun,n,1); |
---|
8 | print(h); |
---|
9 | int l=mindist(h); |
---|
10 | l; |
---|
11 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.