65.179 IsSelfComplementaryCode

IsSelfComplementaryCode( code )

IsSelfComplementaryCode returns true if v in code Rightarrow 1 - v in code, where 1 is the all-one word of length n.

    gap> IsSelfComplementaryCode( HammingCode( 3, GF(2) ) );
    true
    gap> IsSelfComplementaryCode( EvenWeightSubcode(
    > HammingCode( 3, GF(2) ) ) );
    false 

Previous Up Top Next
Index

GAP 3.4.4
April 1997