Re: Polynomial to List
- To: mathgroup at smc.vnet.net
- Subject: [mg76906] Re: Polynomial to List
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Wed, 30 May 2007 05:08:42 -0400 (EDT)
- Organization: Uni Leipzig
- References: <f3grip$49r$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
Hi, Cases[1 + x + x^2 + x^3 + x^4, x^_ | a_?(FreeQ[#, x] &)] Regards Jens Nick Hoffman 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! > >