65.11 NullWord

NullWord( n )
NullWord( n, F )
NullWord( C )

NullWord returns a codeword of length n over the field F of only zeros. The default for F is GF(2). n must be greater then zero. If only a code C is specified, NullWord will return a null word with the word length and the Galois field of C.

    gap> NullWord(8);
    [ 0 0 0 0 0 0 0 0 ]
    gap> Codeword("0000") = NullWord(4);
    true
    gap> NullWord(5,GF(16));
    [ 0 0 0 0 0 ]
    gap> NullWord(ExtendedTernaryGolayCode());
    [ 0 0 0 0 0 0 0 0 0 0 0 0 ] 

Previous Up Top Next
Index

GAP 3.4.4
April 1997