Re: Polynomial to List
- To: mathgroup at smc.vnet.net
- Subject: [mg76902] Re: [mg76897] Polynomial to List
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Wed, 30 May 2007 05:06:37 -0400 (EDT)
- Reply-to: hanlonr at cox.net
expr = 1 + x + x^2 + x^3 + x^4; Reverse[List @@ expr] {x^4, x^3, x^2, x, 1} Bob Hanlon ---- Nick Hoffman <hoffmannick at gmail.com> wrote: > I have a polynomial, > Lets say: > > 1 + x + x^2 + x^3 + x^4 > > > and all I need to do is get that into a list of this form > > {x^4, x^3, x^2, x, 1} > > Any help would be greatly appreciated! Thanks! > >