| 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)
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.