MathGroup Archive 2010

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

Search the Archive

Sum of terms --> list

  • To: mathgroup at
  • Subject: [mg110569] Sum of terms --> list
  • From: uno <dxcqp2000 at>
  • Date: Sat, 26 Jun 2010 03:09:51 -0400 (EDT)


I have an expression that is a sum of terms, like
and I want to convert it to a list, with as many elements as the
number of terms in the sum of terms, and with each element being each
of the terms, like

Also, the same to go from a product of terms like
to a list like

Is there any way, in Mathematica, to do this?
I've been looking for an answer in the Help, and in the web, with no

I ask this because "a*b+c+e*f*g" needs to be evaluated by an external
(.NET) program, which is not able to parse expressions. I have to
"break" everything inside Mathematica, before sending information to
that external program, which will evaluate that expression many times,
for different values of {a,b,c,d,e,f,g}.

Thank you.

  • Prev by Date: Matrix multiplication (again !)
  • Next by Date: Orthogonalize in a discrete setting
  • Previous by thread: Re: Matrix multiplication (again !)
  • Next by thread: Re: Sum of terms --> list