Re: How to get the corresponding coefficients?
- To: mathgroup at smc.vnet.net
- Subject: [mg125852] Re: How to get the corresponding coefficients?
- From: Yi Wang <tririverwangyi at gmail.com>
- Date: Thu, 5 Apr 2012 05:47:48 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <jlh17t$42$1@smc.vnet.net>
On Wednesday, April 4, 2012 4:37:17 AM UTC-4, simplerb... at gmail.com wrote: > If exp:= x3 Exp[x1+x2]; > How can I get the coefficient x3 and the exponential x1+x2 from the exp in a simple way? exp /. a_ Exp[b_] -> {a, b}