-
classmethod galois.Poly.Zero(field: type[Array] | None =
None
) Self Constructs the polynomial \(f(x) = 0\) over \(\mathrm{GF}(p^m)\).
Examples¶
Construct the zero polynomial over \(\mathrm{GF}(2)\).
In [1]: galois.Poly.Zero() Out[1]: Poly(0, GF(2))
Construct the zero polynomial over \(\mathrm{GF}(3^5)\).
In [2]: GF = galois.GF(3**5) In [3]: galois.Poly.Zero(GF) Out[3]: Poly(0, GF(3^5))