Re: How to separate a sum into terms

*To*: mathgroup at smc.vnet.net*Subject*: [mg92039] Re: How to separate a sum into terms*From*: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>*Date*: Thu, 18 Sep 2008 06:12:55 -0400 (EDT)*Organization*: Uni Leipzig*References*: <gaqf4g$doa$1@smc.vnet.net>*Reply-to*: kuska at informatik.uni-leipzig.de

Hi, expr = a + b - c + f[1] - g[a]/g[b] List @@ expr ?? Regards Jens Slava Rychkov wrote: > Hi! > > I want to separate a Mathematica expression written as a sum into > separate terms > E.g. for > > a+b-c+f[1]-g[a]/g[b] > > I want to get a list > > {a,b,-c,f[1],-g[a]/g[b]} > > Is there a simple way to do this? > > Thanks,