On 9-Mar-09, at 8:48 AM, Noel wrote:

>
> Hello Y'all,
>
> What's the best way of listing all polynomials of a given degree with
> coefficients in a finite field?


If you want a one liner, you could use

sage: [ GF(3)['x'](list(t)) for t in  (GF(3)^2) ]
[0, 1, 2, x, x + 1, x + 2, 2*x, 2*x + 1, 2*x + 2]

Nick

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to