65.83 NullCode

NullCode( n, F )

NullCode returns the zero-dimensional nullcode with length n over F. This code has only one word: the all zero word. It is cyclic though!

    gap> C := NullCode( 5, GF(3) );
    a cyclic [5,0,5]5 nullcode over GF(3)
    gap> Elements( C );
    [ 0 ]                # this is the polynomial 0
    gap> TreatAsVector( Elements( C ) ); Elements( C );
    [ [ 0 0 0 0 0 ] ]    # this is the vector 0 

Previous Up Top Next
Index

GAP 3.4.4
April 1997