MathGroup Archive 2005

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

Search the Archive

Re: Transformation rule problem


> f //. {a^(x_)*b -> a^(x - 1)*d, a^(x_)*b^(y_) ->
>     a^(x - 1)*b^(y - 1)*d, a*b^(x_) -> b^(x - 1)*d}

I was wondering how well this solution performs... after all 
Mathematica calls this rule recursively, doesn't it? Does this affect 
the performance when compared to the single pass rule suggested by 
Roland?

Oliver



  • Prev by Date: mathematica bench mark and hp c8000?
  • Next by Date: Re: Transformation rule problem
  • Previous by thread: Re: Transformation rule problem
  • Next by thread: Re: Transformation rule problem