MathGroup Archive 2005

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

Search the Archive

Re: Transformation rule problem


> a^2 b^4 + a^3 b + a^5 + a^5 b/.
> {Power[a, m___ : 1] *Power[b, n___ : 1] :>
> Power[d, Min[m,n]]*Power[a, m - Min[m, n]] *Power[b, n - Min[m, n]]}
> 
> is working for your example

Yeah, this works... it's exactly the default value assignment for the 
exponents that I didn't think of in my own experiments...

Cheers,
Oliver


  • Prev by Date: Re: Transformation rule problem
  • Next by Date: Re: Transformation rule problem
  • Previous by thread: Re: Transformation rule problem
  • Next by thread: Re: Transformation rule problem