hammingCode(q,s)
Returns the Hamming code $C$ over GF(q) whose dual has dimension s.
i1 : C1 = hammingCode(2,3);
i2 : C1.ParityCheckMatrix o2 = | 1 1 1 1 0 0 0 | | 0 0 1 1 1 1 0 | | 0 1 0 1 0 1 1 | 3 7 o2 : Matrix (GF 2) <-- (GF 2)
The object hammingCode is a method function.