% -*- texinfo -*- % @deftypefn {Function File} {} reedmullergen (@var{R},@var{M}) % % Definition type construction of Reed Muller code, % of order @var{R}, length @math{2^M}. This function % returns the generator matrix for the said order RM code. % % RM(r,m) codes are characterized by codewords, % @code{sum ( (m,0) + (m,1) + @dots{} + (m,r)}. % Each of the codeword is got through spanning the % space, using the finite set of m-basis codewords. % Each codeword is @math{2^M} elements long. % see: Lin & Costello, 'Error Control Coding', 2nd Ed. % % Faster code constructions (also easier) exist, but since % finding permutation order of the basis vectors, is important, we % stick with the standard definitions. To use decoder % function reedmullerdec, you need to use this specific % generator function. % % @example % @group % G=reedmullergen(2,4); % @end group % @end example % % @end deftypefn % @seealso{reedmullerdec,reedmullerenc}