2009/6/17 Robert Bradshaw <rober...@math.washington.edu>: > > On Jun 17, 2009, at 4:05 AM, John Cremona wrote: > >> I think is is easier, both on the eye and for a beginner to >> understand: >> >> sage: x = polygen(ZZ) >> sage: f = 2*x**2 - x >> sage: f.factor() >> x * (2*x - 1) > > Perhaps. I like the R[var] notation because it's a direct translation > of the mathematical notation.
I love the R[var] notation too. I remember making it up and being very pleased. > Note the default variable name: > > sage: t = polygen(ZZ) > sage: t > x yes, that's good to point out. To make it t: sage: t = polygen(ZZ,'t') sage: t t William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---