Re: Polynomial to List
- To: mathgroup at smc.vnet.net
- Subject: [mg76923] Re: [mg76897] Polynomial to List
- From: Sseziwa Mukasa <mukasa at jeol.com>
- Date: Wed, 30 May 2007 05:17:32 -0400 (EDT)
- References: <200705290907.FAA04110@smc.vnet.net>
On May 29, 2007, at 5:07 AM, 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!
For that form of polynomial
List@@(1 + x + x^2 + x^3 + x^4)
works.
Regards,
Ssezi
- References:
- Polynomial to List
- From: "Nick Hoffman" <hoffmannick@gmail.com>
- Polynomial to List