Expand description
The interface shared by the block codes.
A BlockCode maps $k$ information bits to $n$ coded bits and decodes $n$ LLRs
(positive for a 0, the convention of comnum_core::signal) back to $k$ bits. Its
provided methods encode and decode streams of whole blocks, and every code of the
crate implements the verb traits Encode and
Decode on the multi-stream containers. A code whose
decoder gives the a posteriori LLRs of its information bits also implements
SoftDecode.
Traits§
- Block
Code - A code of $k$ information bits and $n$ coded bits per block.
- Soft
Decode - A block code whose decoder gives the a posteriori LLRs of the information bits: the soft output of an iterative receiver (turbo equalisation, iterative demapping) or of a concatenation.