pub fn simplex_code(r: usize) -> BinaryCodeExpand description
Construct the simplex code (dual of Hamming code).
Parameters: [2^r − 1, r, 2^(r−1)].
pub fn simplex_code(r: usize) -> BinaryCodeConstruct the simplex code (dual of Hamming code).
Parameters: [2^r − 1, r, 2^(r−1)].