Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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)