repetitionCode(F,n)
Returns the repetition code over F of length n.
i1 : F = GF(2,3);
i2 : n=7;
i3 : C=repetitionCode(F,n);
i4 : C.ParityCheckMatrix o4 = | 1 1 0 0 0 0 0 | | 1 0 1 0 0 0 0 | | 1 0 0 1 0 0 0 | | 1 0 0 0 1 0 0 | | 1 0 0 0 0 1 0 | | 1 0 0 0 0 0 1 | 6 7 o4 : Matrix F <-- F
The object repetitionCode is a method function.