Module ldpc_toolbox::encoder

source ·
Expand description

LDPC systematic encoder.

This module implements a systematic encoder for LDPC (n, k) codes in which the parity check matrix H has size (n-k) x n (i.e., has maximum rank), and the square matrix formed by the last n-k columns of H is invertible. For these codes, the encoder uses the first k symbols of the codeword as systematic.

The encoder works by splitting the parity check matrix as H = [H0 H1], where H1 is square, and computing G0 = H1^{-1}H0. The dense matrix G0 is multiplied by the k message bits (as a column vector on the right) to obtain the n-k parity check bits.

Structs

Enums