Re: Polynomial to List
- To: mathgroup at smc.vnet.net
- Subject: [mg76905] Re: [mg76897] Polynomial to List
- From: "Christoph Lhotka" <lhotka at astro.univie.ac.at>
- Date: Wed, 30 May 2007 05:08:11 -0400 (EDT)
Try one of those... List@@polynomial polynomial/.Plus->List Table[polynmoial[[i]],{,1,Length[polynomial]}] wkr Christoph On Tue, 29 May 2007 05:07:44 -0400 (EDT) "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! > > -- Mag. Christoph Lhotka -- University of Vienna / Department of Astronomy Tuerkenschanzstrasse 17, A-1180 Vienna, Austria fon. +43 (1) 4277 51841 mail. lhotka at astro.univie.ac.at