Ask Your Question

Revision history [back]

You can get the documentation of the random_element method by typing:

sage: R1.random_element?

As you can see, you can specify the degree, so the following should work:

sage: R1.random_element(degree=1)