On Sat, Aug 23, 2008 at 11:38 AM, Shing Hing Man <[EMAIL PROTECTED]> wrote: > > Hi, > > Consider polynomials > f = 1 +t + 2*t^2 > g=1+t > > over R.<t> = PolynomialRing(GF(7)); > > How to get the Latex expression of fg without expanding the product ? > ie (1 + t + 2 t^{2}) (1+t) .
You can't do this in sage currently unless you make t a symbolic variable: t= var('t') But then you can't work over GF(7). > > latex( fg) returns > > 2 t^{3} + 3 t^{2} + 2 t + 1 > > Thanks in advance for any assistance! > I am using Sage 3.0,6. > > Shing > > > > > > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---