The programs names below are followed by the form of arguments they take; a similar usage message is displayed when a program is run with no arguments. In these descriptions, things to be entered literally are in roman font, descriptions of something to be supplied are in italic. Arguments in square brackets are optional. A vertical bar separates alternatives. Dots represent indefinite repetition.
Creating a parity check matrix for a code:
make-pchk pchk-file n-checks n-bits row:col ... print-pchk [ -d ] pchk-file make-ldpc pchk-file n-checks n-bits seed method
Encoding message blocks as codewords:
make-gen pchk-file gen-file method print-gen [ -d ] gen-file encode pchk-file gen-file source-file encoded-file
Transmitting bits through a simulated channel:
transmit encoded-file|n-zeros received-file seed channel
decode [ -t ] pchk-file received-file decoded-file [ bp-file ] channel method extract gen-file decoded-file extracted-file
See also the discussions of linear dependence in parity check matrices and of sparse LU decomposition methods, and the examples of program usage.rand-src source-file seed n-bits verify [ -t ] pchk-file decoded-file [ gen-file [ source-file ] ]