Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: Polynomial as a List

  • To: mathgroup at smc.vnet.net
  • Subject: [mg77363] Re: Polynomial as a List
  • From: chuck009 <dmilioto at comcast.com>
  • Date: Thu, 7 Jun 2007 03:54:37 -0400 (EDT)
  • Organization: The Math Forum

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