Mathematica 9 is now available
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: [mg77257] Re: Polynomial as a List
  • From: Peter Breitfeld <phbrf at t-online.de>
  • Date: Wed, 6 Jun 2007 06:59:54 -0400 (EDT)
  • Organization: SFZ Bad Saulgau
  • References: <f43ghr$2db$1@smc.vnet.net>

Nick schrieb:
> 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}
>
>
> Can anyone help me figure this out?
>
> Thanks so much!
>

a=1 + x + x^2 + x^3 + x^4;
Reverse[List@@a]

Gruss Peter
-- 
==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==
Peter Breitfeld, Bad Saulgau, Germany -- http://www.pBreitfeld.de


  • Prev by Date: Re: Java failure
  • Next by Date: Re: Polynomial as a List
  • Previous by thread: Polynomial as a List
  • Next by thread: Re: Polynomial as a List