Properties of Codes
For the following operators, \(C\) and \(D\) are codes defined as a subset (or subspace) of the vector space \(V\).
- IsSelfDual(C): Code -> BoolElt
Return
trueif and only if the linear code \(C\) is self-dual (or self-orthogonal) (i.e. \(C\) equals the dual of \(C\)).
- IsSelfOrthogonal(C): Code -> BoolElt
Return
trueif and only if the linear code \(C\) is self-orthogonal (i.e. \(C\) is contained in the dual of \(C\)).
- IsPerfect(C): Code -> BoolElt
Return
trueif and only if the linear code \(C\) is perfect; that is, if and only if the cardinality of \(C\) is equal to the size of the sphere packing bound of \(C\).