MathGroup Archive 2006

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

Search the Archive

Converting an expression to a list of terms?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg71463] Converting an expression to a list of terms?
  • From: AES <siegman at stanford.edu>
  • Date: Mon, 20 Nov 2006 02:43:42 -0500 (EST)
  • Organization: Stanford University

How to convert an expression consisting of a sum of terms in an Output 
cell:

   A + B - C + . . . 

(where A, B, C are themselves product expressions) to a list

   {A, B, -C, . . . }

in some easier fashion than doing it by hand using Find and Replace?


  • Prev by Date: Re: NIntegrate
  • Next by Date: Re: export magnification
  • Previous by thread: Re: a (serious) question about character codes in Mathematica
  • Next by thread: Re: Converting an expression to a list of terms?