[Next] [Prev] [Right] [Left] [Up] [Index] [Root]
Mattson-Solomon Transforms

Mattson-Solomon Transforms

MattsonSolomonTransform(f, n) : RngUPolElt, RngIntElt -> RngUPolElt
Given f, a polynomial over a finite field containing a primitive n-th root of unity, return the Mattson-Solomon transform of parameter n.
InverseMattsonSolomonTransform(A, n) : RngUPolElt, RngIntElt -> RngUPolElt
Given A, a polynomial over a finite field containing a primitive n-th root of unity, return the inverse Mattson-Solomon transform of parameter n.

Example Code_MattsonSolomonTransform (H58E19)

We compute the Mattson-Solomon transform of parameter n=7 of the polynomial x^4 + x^2 + x + 1 over GF(2^(12)).

> n := 7;
> K := GF(2, 12);
> FP<x> := PolynomialRing(K);
> f := x^4 + x^2 + x + 1;
> A := MattsonSolomonTransform(f, n);
> A;
x^6 + x^5 + x^3

[Next] [Prev] [Right] [Left] [Up] [Index] [Root]