[sage-support] Re: listing monomials in a symbolic expression

2008-10-17 Thread Marshall Hampton
Maybe there's an easier built-in way, if so I'd like to know it too, but you could do: [x^q[1]*q[0] for q in p.coefficients(x)] as a stop-gap. -M. Hampton On Oct 17, 11:59 am, Neal <[EMAIL PROTECTED]> wrote: > Hi Everyone, > > I'm trying to get SAGE to give me a list of the monomials in a > mu

[sage-support] Re: listing monomials in a symbolic expression

2008-10-17 Thread Neal
That'll work. Thanks very much. On Oct 17, 11:10 am, Marshall Hampton <[EMAIL PROTECTED]> wrote: > Maybe there's an easier built-in way, if so I'd like to know it too, > but you could do: > > [x^q[1]*q[0] for q in p.coefficients(x)] > > as a stop-gap. > > -M. Hampton > > On Oct 17, 11:59 am, Nea