Ask Your Question

Revision history [back]

Set of polynomial under a certain degree

Hello everyone,

My question is the following : how to define the set of the polynomial with degree less or equal than a certain number ? In my program I want to explore all the polynomial over a finite field with a degree less or equal than d.

For now, what I do is : R.<x> = PolynomialRing(GF(2^4)) R.random_element(5)

But If I want to go through all these elements I can't use that since I get all of them...

Does someone have an idea of what I could do ? Thank you in advance

Camille