Thanks for all the replies! Shing
On Aug 23, 9:28 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On Sat, Aug 23, 2008 at 12:50 PM, daveloeffler <[EMAIL PROTECTED]> wrote: > > >> How to get the Latex expression of fg without expanding the product ? > >> ie (1 + t + 2 t^{2}) (1+t) . > > > Can't one use the Factorization class to do this? I tried > >> fg = Factorization([(f,1), (g,1)]) > > > and then you can print fg to latex. (I guess the point is that the > > Factorization class doesn't enforce that the factors are irreducible.) > > Cool, that's a great idea! > > William --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---