property galois.Poly.coeffs : Array

The coefficients of the polynomial in degree-descending order.

Notes

The entries of coeffs are paired with degrees.

Examples

In [1]: GF = galois.GF(7)

In [2]: p = galois.Poly([3, 0, 5, 2], field=GF); p
Out[2]: Poly(3x^3 + 5x + 2, GF(7))

In [3]: p.coeffs
Out[3]: GF([3, 0, 5, 2], order=7)