RE: Converting an expression to a list of terms?
- To: mathgroup at smc.vnet.net
- Subject: [mg71490] RE: [mg71463] Converting an expression to a list of terms?
- From: "David Park" <djmp at earthlink.net>
- Date: Mon, 20 Nov 2006 18:11:54 -0500 (EST)
a + b - c + d - e List @@ % a + b - c + d - e {a, b, -c, d, -e} David Park djmp at earthlink.net http://home.earthlink.net/~djmp/ From: AES [mailto:siegman at stanford.edu] 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?