BTW, one gan get the generator with the gen() method. sage: R = GF(101)['y'] sage: R.gen() y
An even easier shorthand is sage: R.<y> = GF(101)['y'] or even simply sage: R.<y> = GF(101)[] where the y appears on the left hand side, so an assignment is made. - Robert On Dec 6, 2008, at 12:09 PM, john_perry_usm wrote: > > Robert, > > Okay, I see the difference: a polynomial generator "over" the ring > means something that will generate a ring over the given ring, not a > polynomial generator "of" the ring. > > thanks > john perry > > On Dec 6, 12:31 pm, Robert Bradshaw <[EMAIL PROTECTED]> > wrote: >> I think you are misinterpreting polygen. Polygen takes as input a >> ring, and creates a new polynomial ring over that rings, and returns >> the generator of that new ring (not the generator of the original >> ring). Also, since you didn't provide a name to the polygen function, >> it defaults to "x." >> >> Rather than type, the parent() function is often more informative. >> >> sage: R = GF(101)['y'] >> sage: y = polygen(R) >> sage: parent(y) >> Univariate Polynomial Ring in x over Univariate Polynomial Ring in y >> over Finite Field of size 101 >> sage: y >> x >> >> Type polygen? to see the documentation. >> >> - Robert >> >> On Dec 6, 2008, at 8:08 AM, john_perry_usm wrote: >> >> --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---