MathGroup Archive 2012

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

Search the Archive

Re: How to get the corresponding coefficients?


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}



  • Prev by Date: Re: addRule
  • Next by Date: ListPlot question
  • Previous by thread: Re: How to get the corresponding coefficients?
  • Next by thread: Re: How to get the corresponding coefficients?