MathGroup Archive 2007

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

Search the Archive

Re: Polynomial as a List


Not sure how you defined your polynomial but if you just assign it as follows then Mathematica can access the terms as items in a list:

pval = 1 + x + x^2 - x^3 - x^4;
plist = Table[pval[[i]], {i, Length[pval], 1, -1}]

{-x^4,-x^3,x^2,x,1}


  • Prev by Date: Customising syntax colouring
  • Next by Date: Re: question
  • Previous by thread: Re: Polynomial as a List
  • Next by thread: Re: Polynomial as a List