CodeMacWilliamsTransform( code )
CodeMacWilliamsTransform
returns a polynomial of the following form:where C_i is the number of codewords with weight i in the dual code of code.
gap> CodeMacWilliamsTransform( HammingCode( 3, GF(2) ) ); 7*x^4 + 1
GAP 3.4.4