65.178 CodeMacWilliamsTransform

CodeMacWilliamsTransform( code )

CodeMacWilliamsTransform returns a polynomial of the following form:
f(x) = sum_i=0^n C_i x^i,

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 

Previous Up Top Next
Index

GAP 3.4.4
April 1997