Skip to main content

simplex_code

Function simplex_code 

Source
pub fn simplex_code(r: usize) -> BinaryCode
Expand description

Construct the simplex code (dual of Hamming code).

Parameters: [2^r − 1, r, 2^(r−1)].