MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Polynomial to List


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!
> 
> 

In[3]:=
List@@(3+2x+x^2)

Out[3]=
{3, 2*x, x^2}

Also look up CoefficientList[] in the help.


  • Prev by Date: Famous Mathematica 5.0 not working with Mathematica 6?
  • Next by Date: RE: Polynomial to List
  • Previous by thread: Re: Polynomial to List
  • Next by thread: Re: Polynomial to List